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

Unified Diff: third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h

Issue 2163983004: Pass per-frame task runners to Workers (when possible) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments Created 4 years, 5 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/InProcessWorkerObjectProxy.h
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
index d22ec94aade9a6cb55b342b8037cf01d131a6421..d3e9cf4ce6945d4e1850907985764b3bf1ace2c9 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
@@ -44,6 +44,7 @@ class ConsoleMessage;
class ExecutionContext;
class ExecutionContextTask;
class InProcessWorkerMessagingProxy;
+class ParentFrameTaskRunners;
class WorkerOrWorkletGlobalScope;
// A proxy to talk to the worker object. This object is created on the
@@ -79,6 +80,9 @@ protected:
virtual ExecutionContext* getExecutionContext();
private:
+ // Returns the parent frame's task runners.
+ ParentFrameTaskRunners* getParentFrameTaskRunners();
+
// This object always outlives this proxy.
InProcessWorkerMessagingProxy* m_messagingProxy;
};

Powered by Google App Engine
This is Rietveld 408576698