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

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

Issue 2513413003: Worker: Provide a way to access parent frame task runners from a worker thread (Closed)
Patch Set: update comments Created 4 years, 1 month 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 e1ee9a316a7b8f0e2396018c780eaa28127ee5a8..1645e8755ef4075d5eb8b9c39d12904cb87ae5e7 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
@@ -45,7 +45,6 @@ class ConsoleMessage;
class ExecutionContext;
class ExecutionContextTask;
class InProcessWorkerMessagingProxy;
-class ParentFrameTaskRunners;
class WorkerGlobalScope;
class WorkerOrWorkletGlobalScope;
@@ -82,6 +81,7 @@ class CORE_EXPORT InProcessWorkerObjectProxy : public WorkerReportingProxy {
const String& message,
SourceLocation*) override;
void postMessageToPageInspector(const String&) override;
+ ParentFrameTaskRunners* getParentFrameTaskRunners() override;
void didCreateWorkerGlobalScope(WorkerOrWorkletGlobalScope*) override;
void didEvaluateWorkerScript(bool success) override;
void didCloseWorkerGlobalScope() override;
@@ -97,9 +97,6 @@ class CORE_EXPORT InProcessWorkerObjectProxy : public WorkerReportingProxy {
void checkPendingActivity(TimerBase*);
- // 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