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

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

Issue 2539443004: Worker: Move ParentFrameTaskRunners from WorkerReportingProxy to ObjectProxy (Closed)
Patch Set: 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 bae8ae051ad2b5590e6bc18f6eb68dd5a0bfd137..3c88fe63c4d26bbedfe1f0b2b3fb128cbda15da0 100644
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerObjectProxy.h
@@ -45,6 +45,7 @@ namespace blink {
class ConsoleMessage;
class ExecutionContext;
class InProcessWorkerMessagingProxy;
+class ParentFrameTaskRunners;
class WorkerGlobalScope;
class WorkerOrWorkletGlobalScope;
@@ -85,7 +86,6 @@ 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;
@@ -94,7 +94,10 @@ class CORE_EXPORT InProcessWorkerObjectProxy : public WorkerReportingProxy {
protected:
InProcessWorkerObjectProxy(const WeakPtr<InProcessWorkerMessagingProxy>&);
+
+ // 'virtual' for testing.
virtual ExecutionContext* getExecutionContext();
+ virtual ParentFrameTaskRunners* getParentFrameTaskRunners();
private:
friend class InProcessWorkerMessagingProxyForTest;

Powered by Google App Engine
This is Rietveld 408576698