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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.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/WebEmbeddedWorkerImpl.h
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
index 7d8c2c9a9233619990d4de55b2f39cfa0dd4eff5..464620223a22798c7e365f53bd01bb077401d7f4 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
@@ -31,8 +31,6 @@
#ifndef WebEmbeddedWorkerImpl_h
#define WebEmbeddedWorkerImpl_h
-#include "core/workers/WorkerLoaderProxy.h"
-
#include <memory>
#include "platform/heap/Handle.h"
#include "public/platform/WebContentSecurityPolicy.h"
@@ -53,8 +51,7 @@ class WorkerThread;
class WebEmbeddedWorkerImpl final : public WebEmbeddedWorker,
public WebFrameClient,
- public WebDevToolsAgentClient,
- private WorkerLoaderProxyProvider {
+ public WebDevToolsAgentClient {
WTF_MAKE_NONCOPYABLE(WebEmbeddedWorkerImpl);
public:
@@ -98,9 +95,6 @@ class WebEmbeddedWorkerImpl final : public WebEmbeddedWorker,
void OnScriptLoaderFinished();
void StartWorkerThread();
- // WorkerLoaderProxyProvider
- ThreadableLoadingContext* GetThreadableLoadingContext() override;
-
WebEmbeddedWorkerStartData worker_start_data_;
std::unique_ptr<WebServiceWorkerContextClient> worker_context_client_;
@@ -113,7 +107,6 @@ class WebEmbeddedWorkerImpl final : public WebEmbeddedWorker,
RefPtr<WorkerScriptLoader> main_script_loader_;
std::unique_ptr<WorkerThread> worker_thread_;
- RefPtr<WorkerLoaderProxy> loader_proxy_;
Persistent<ServiceWorkerGlobalScopeProxy> worker_global_scope_proxy_;
Persistent<WorkerInspectorProxy> worker_inspector_proxy_;

Powered by Google App Engine
This is Rietveld 408576698