Index: third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h |
diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h |
index 42c1eeb3afe180ebaa3a8cc2a455409e7c671576..7682ad95620c24d3ff6c3d0c53ff802433adf425 100644 |
--- a/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h |
+++ b/third_party/WebKit/Source/core/workers/InProcessWorkerMessagingProxy.h |
@@ -41,12 +41,13 @@ |
namespace blink { |
-class InProcessWorkerObjectProxy; |
-class WorkerThread; |
class ExecutionContext; |
class InProcessWorkerBase; |
+class InProcessWorkerObjectProxy; |
+class ParentFrameTaskRunners; |
class WorkerClients; |
class WorkerInspectorProxy; |
+class WorkerThread; |
// TODO(nhiroki): "MessagingProxy" is not well-defined term among worker |
// components. Probably we should rename this to something more suitable. |
@@ -77,6 +78,8 @@ public: |
ExecutionContext* getExecutionContext() const { return m_executionContext.get(); } |
+ ParentFrameTaskRunners* getParentFrameTaskRunners() { return m_parentFrameTaskRunners.get(); } |
+ |
// Number of live messaging proxies, used by leak detection. |
static int proxyCount(); |
@@ -124,6 +127,8 @@ private: |
Persistent<WorkerClients> m_workerClients; |
+ std::unique_ptr<ParentFrameTaskRunners> m_parentFrameTaskRunners; |
+ |
RefPtr<WorkerLoaderProxy> m_loaderProxy; |
}; |