Index: Source/core/workers/WorkerMessagingProxy.h |
diff --git a/Source/core/workers/WorkerMessagingProxy.h b/Source/core/workers/WorkerMessagingProxy.h |
index 0babd10fe7b66c128dde2f0886db8ebd75513892..46abc05b3ba42c787e5ebbd7ebfbdbb664b3e498 100644 |
--- a/Source/core/workers/WorkerMessagingProxy.h |
+++ b/Source/core/workers/WorkerMessagingProxy.h |
@@ -28,6 +28,8 @@ |
#define WorkerMessagingProxy_h |
#include "core/dom/ExecutionContext.h" |
+#include "core/workers/DedicatedWorkerThread.h" |
+#include "core/workers/WorkerGlobalScope.h" |
#include "core/workers/WorkerGlobalScopeProxy.h" |
#include "core/workers/WorkerLoaderProxy.h" |
#include "wtf/Forward.h" |
@@ -40,7 +42,6 @@ |
namespace blink { |
class WorkerObjectProxy; |
-class DedicatedWorkerThread; |
class ExecutionContext; |
class Worker; |
class WorkerClients; |
@@ -79,19 +80,17 @@ public: |
virtual bool postTaskToWorkerGlobalScope(PassOwnPtr<ExecutionContextTask>) OVERRIDE; |
void workerThreadCreated(PassRefPtr<DedicatedWorkerThread>); |
- |
+ WorkerGlobalScope* passObject(); |
shans
2014/08/25 11:53:59
passObject needs a more descriptive name.
|
protected: |
virtual ~WorkerMessagingProxy(); |
private: |
static void workerObjectDestroyedInternal(ExecutionContext*, WorkerMessagingProxy*); |
- |
RefPtrWillBePersistent<ExecutionContext> m_executionContext; |
OwnPtr<WorkerObjectProxy> m_workerObjectProxy; |
Worker* m_workerObject; |
bool m_mayBeDestroyed; |
RefPtr<DedicatedWorkerThread> m_workerThread; |
- |
unsigned m_unconfirmedMessageCount; // Unconfirmed messages from worker object to worker thread. |
bool m_workerThreadHadPendingActivity; // The latest confirmation from worker thread reported that it was still active. |