Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1290)

Unified Diff: third_party/WebKit/Source/web/WebSharedWorkerImpl.h

Issue 2840473002: Worker: Remove WorkerLoaderProxy for clean-up (Closed)
Patch Set: wip Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.h
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.h b/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
index 85ea4b47391b9cc3b1b259a9b9ddd5cbfb2e2990..2202620908687dbb22e77199217ce6ca2074fc10 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
@@ -35,7 +35,6 @@
#include <memory>
#include "core/dom/ExecutionContext.h"
-#include "core/workers/WorkerLoaderProxy.h"
#include "core/workers/WorkerThread.h"
#include "platform/wtf/RefPtr.h"
#include "public/platform/WebAddressSpace.h"
@@ -64,8 +63,7 @@ class WorkerScriptLoader;
// *OnWorkerThread or have header comments.
class WebSharedWorkerImpl final : public WebFrameClient,
public WebSharedWorker,
- public WebDevToolsAgentClient,
- private WorkerLoaderProxyProvider {
+ public WebDevToolsAgentClient {
public:
explicit WebSharedWorkerImpl(WebSharedWorkerClient*);
@@ -126,9 +124,6 @@ class WebSharedWorkerImpl final : public WebFrameClient,
void ConnectTaskOnWorkerThread(std::unique_ptr<WebMessagePortChannel>);
- // WorkerLoaderProxyProvider
- ThreadableLoadingContext* GetThreadableLoadingContext() override;
-
// 'shadow page' - created to proxy loading requests from the worker.
// Will be accessed by worker thread when posting tasks.
Persistent<ExecutionContext> loading_document_;
@@ -152,8 +147,6 @@ class WebSharedWorkerImpl final : public WebFrameClient,
// Kept around only while main script loading is ongoing.
RefPtr<WorkerScriptLoader> main_script_loader_;
- RefPtr<WorkerLoaderProxy> loader_proxy_;
-
WebURL url_;
WebString name_;
WebAddressSpace creation_address_space_;

Powered by Google App Engine
This is Rietveld 408576698