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

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.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/core/workers/ThreadedMessagingProxyBase.h
diff --git a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h
index 978f805937bfc81d31bfaad14cc4bc2132aca6e1..89aaabb4df4bbb7c41e1850531c7b5c647802faa 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h
+++ b/third_party/WebKit/Source/core/workers/ThreadedMessagingProxyBase.h
@@ -85,7 +85,7 @@ class CORE_EXPORT ThreadedMessagingProxyBase
void postTaskToWorkerGlobalScope(
const WebTraceLocation&,
std::unique_ptr<WTF::CrossThreadClosure>) override;
- ExecutionContext* getLoaderExecutionContext() override;
+ ThreadableLoadingContext* getThreadableLoadingContext() override;
private:
friend class InProcessWorkerMessagingProxyForTest;
@@ -94,6 +94,7 @@ class CORE_EXPORT ThreadedMessagingProxyBase
void parentObjectDestroyedInternal();
Persistent<ExecutionContext> m_executionContext;
+ Persistent<ThreadableLoadingContext> m_loadingContext;
Persistent<WorkerInspectorProxy> m_workerInspectorProxy;
// Accessed cross-thread when worker thread posts tasks to the parent.
CrossThreadPersistent<ParentFrameTaskRunners> m_parentFrameTaskRunners;

Powered by Google App Engine
This is Rietveld 408576698