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 889caef54ca698b54be32d92465f509bfa632be0..5b407e8b80a2cb1a6a61835cad1eff1f7727e58f 100644 |
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.h |
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.h |
@@ -57,6 +57,7 @@ class WebURL; |
class WebView; |
class WorkerInspectorProxy; |
class WorkerScriptLoader; |
+class WorkerShadowFetchContext; |
// This class is used by the worker process code to talk to the SharedWorker |
// implementation. This is basically accessed on the main thread, but some |
@@ -117,6 +118,8 @@ class WebSharedWorkerImpl final : public WebFrameClient, |
// Shuts down the worker thread. |
void TerminateWorkerThread(); |
+ void InitializeShadowFetchContext(); |
+ |
// Creates the shadow loader used for worker network requests. |
void InitializeLoader(); |
@@ -144,6 +147,8 @@ class WebSharedWorkerImpl final : public WebFrameClient, |
Persistent<WebSharedWorkerReportingProxyImpl> reporting_proxy_; |
std::unique_ptr<WorkerThread> worker_thread_; |
+ Persistent<WorkerShadowFetchContext> shadow_fetch_context_; |
+ |
WebSharedWorkerClient* client_; |
bool pause_worker_context_on_start_; |