Chromium Code Reviews| Index: third_party/WebKit/Source/core/workers/WorkerReportingProxy.h |
| diff --git a/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h b/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h |
| index 523dbac39d373cc96625a4178f92579711f106bf..42cd9876f68192f46f47cf3063ec7be7eb5a8744 100644 |
| --- a/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h |
| +++ b/third_party/WebKit/Source/core/workers/WorkerReportingProxy.h |
| @@ -40,6 +40,7 @@ |
| namespace blink { |
| class ConsoleMessage; |
| +class ParentFrameTaskRunners; |
| class SourceLocation; |
| class WorkerOrWorkletGlobalScope; |
| @@ -57,6 +58,9 @@ class CORE_EXPORT WorkerReportingProxy { |
| SourceLocation*) = 0; |
| virtual void postMessageToPageInspector(const String&) = 0; |
| + // Returns the parent frame's task runners. |
| + virtual ParentFrameTaskRunners* getParentFrameTaskRunners() = 0; |
|
kinuko
2016/11/28 04:24:09
This method as is might feel slightly misplaced to
nhiroki
2016/11/28 05:29:26
Good point. Now this looks a bit strange to me, to
|
| + |
| // Invoked when the new WorkerGlobalScope is created. This is called after |
| // didLoadWorkerScript(). |
| virtual void didCreateWorkerGlobalScope(WorkerOrWorkletGlobalScope*) {} |