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

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

Issue 2715803004: Introduce ThreadableLoadingContext: make threaded loading code one step away from Document (Closed)
Patch Set: Created 3 years, 10 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 d32b805083aff54781de70d8e7cc339fdb433adf..9c5d69cf29abe634ac5ed594cd9087294dc75155 100644
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.h
@@ -155,11 +155,12 @@ class WebSharedWorkerImpl final : public WorkerReportingProxy,
void postTaskToWorkerGlobalScope(
const WebTraceLocation&,
std::unique_ptr<WTF::CrossThreadClosure>) override;
- ExecutionContext* getLoaderExecutionContext() override;
+ LoadingContext* getLoadingContext() override;
// 'shadow page' - created to proxy loading requests from the worker.
// Will be accessed by worker thread when posting tasks.
Persistent<ExecutionContext> m_loadingDocument;
+ Persistent<LoadingContext> m_loadingContext;
WebView* m_webView;
Persistent<WebLocalFrameImpl> m_mainFrame;
bool m_askedToTerminate;

Powered by Google App Engine
This is Rietveld 408576698