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

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

Issue 2842123002: WorkerShadowFetchContext
Patch Set: . 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/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_;
« no previous file with comments | « third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp ('k') | third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698