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

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

Issue 2840473002: Worker: Remove WorkerLoaderProxy for clean-up (Closed)
Patch Set: clean up Created 3 years, 7 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 b4e76b0c19f711739b49bfa9c515cddb6854a086..f627f4e0ecc827f6b0a0b29253aa2c92955039e0 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/Platform.h"
@@ -54,8 +52,7 @@ class WorkerThread;
class WebEmbeddedWorkerImpl final : public WebEmbeddedWorker,
public WebFrameClient,
- public WebDevToolsAgentClient,
- private WorkerLoaderProxyProvider {
+ public WebDevToolsAgentClient {
WTF_MAKE_NONCOPYABLE(WebEmbeddedWorkerImpl);
public:
@@ -104,9 +101,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_;
@@ -119,7 +113,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