| Index: Source/core/inspector/WorkerInspectorController.h
|
| diff --git a/Source/core/inspector/WorkerInspectorController.h b/Source/core/inspector/WorkerInspectorController.h
|
| index 5605b6f44e17e449976e8b10ae1dcc53f9ab6ec0..533aa37ee860f8b0b964f1639aa45baef64315c9 100644
|
| --- a/Source/core/inspector/WorkerInspectorController.h
|
| +++ b/Source/core/inspector/WorkerInspectorController.h
|
| @@ -33,6 +33,7 @@
|
|
|
| #include "core/inspector/InspectorBaseAgent.h"
|
| #include "core/inspector/InspectorRuntimeAgent.h"
|
| +#include "core/inspector/InspectorTaskRunner.h"
|
| #include "wtf/FastAllocBase.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/Noncopyable.h"
|
| @@ -47,7 +48,6 @@ class InspectorBackendDispatcher;
|
| class InspectorFrontend;
|
| class InspectorFrontendChannel;
|
| class InspectorStateClient;
|
| -class InspectorTaskRunner;
|
| class InstrumentingAgents;
|
| class WorkerDebuggerAgent;
|
| class WorkerGlobalScope;
|
| @@ -70,12 +70,13 @@ public:
|
| void dispose();
|
| void interruptAndDispatchInspectorCommands();
|
|
|
| - void pauseOnStart();
|
| + void workerContextInitialized(bool pauseOnStart);
|
|
|
| private:
|
| friend InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope*);
|
|
|
| // InspectorRuntimeAgent::Client implementation.
|
| + void pauseOnStart();
|
| void resumeStartup() override;
|
| bool isRunRequired() override;
|
|
|
| @@ -93,6 +94,7 @@ private:
|
| OwnPtrWillBeMember<AsyncCallTracker> m_asyncCallTracker;
|
| RawPtrWillBeMember<WorkerRuntimeAgent> m_workerRuntimeAgent;
|
| OwnPtr<InspectorTaskRunner> m_inspectorTaskRunner;
|
| + OwnPtr<InspectorTaskRunner::IgnoreInterruptsScope> m_beforeInitlizedScope;
|
| bool m_paused;
|
| };
|
|
|
|
|