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

Unified Diff: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.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/WebEmbeddedWorkerImpl.h
diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
index 0892a6ba6bd8d5a21f6e889eda4a6f71a67ec7d9..c73b724c67432f6ba933f37512eee6bb14e7d293 100644
--- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
+++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.h
@@ -43,12 +43,13 @@
namespace blink {
-class ThreadableLoadingContext;
class ServiceWorkerGlobalScopeProxy;
+class ThreadableLoadingContext;
class WebLocalFrameImpl;
class WebView;
class WorkerInspectorProxy;
class WorkerScriptLoader;
+class WorkerShadowFetchContext;
class WorkerThread;
class WebEmbeddedWorkerImpl final : public WebEmbeddedWorker,
@@ -80,6 +81,8 @@ class WebEmbeddedWorkerImpl final : public WebEmbeddedWorker,
void PostMessageToPageInspector(const WTF::String&);
private:
+ void InitializeShadowFetchContext();
+
void PrepareShadowPageForLoader();
void LoadShadowPage();
@@ -138,6 +141,8 @@ class WebEmbeddedWorkerImpl final : public WebEmbeddedWorker,
} pause_after_download_state_;
WaitingForDebuggerState waiting_for_debugger_state_;
+
+ Persistent<WorkerShadowFetchContext> shadow_fetch_context_;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698