| Index: Source/core/workers/WorkerMessagingProxy.h
|
| diff --git a/Source/core/workers/WorkerMessagingProxy.h b/Source/core/workers/WorkerMessagingProxy.h
|
| index 0babd10fe7b66c128dde2f0886db8ebd75513892..d82a8a2b1d52ff1e122969367614dca3f93f851b 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* extractWorkerGlobalScope();
|
| 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.
|
|
|
|
|