mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:28:10 +00:00
LibWeb+WebContent: Spawn Worker processes from the chrome
Instead of spawning these processes from the WebContent process, we now create them in the Browser chrome. Part 1/N of "all processes are owned by the chrome".
This commit is contained in:
parent
6ea4c248ab
commit
02edd240ae
26 changed files with 152 additions and 99 deletions
|
@ -10,6 +10,7 @@
|
|||
#include <LibIPC/ConnectionToServer.h>
|
||||
#include <LibWeb/Worker/WebWorkerClientEndpoint.h>
|
||||
#include <LibWeb/Worker/WebWorkerServerEndpoint.h>
|
||||
#include <LibWebView/SocketPair.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
|
@ -21,6 +22,8 @@ class WebWorkerClient final
|
|||
public:
|
||||
explicit WebWorkerClient(NonnullOwnPtr<Core::LocalSocket>);
|
||||
|
||||
WebView::SocketPair dup_sockets();
|
||||
|
||||
private:
|
||||
virtual void die() override;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue