Index: third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h |
diff --git a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h |
index 84b0c3dabd9b67434b3a7e8451e838ffe8c5c3d8..508dea806e4dbefec5167873427168342bdb96d7 100644 |
--- a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h |
+++ b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h |
@@ -58,16 +58,14 @@ public: |
void didCommitLoadForLocalFrame(LocalFrame*) override; |
// Called from InspectorInstrumentation |
- bool shouldPauseDedicatedWorkerOnStart(); |
- void didStartWorker(WorkerInspectorProxy*, const KURL&); |
+ bool shouldWaitForDebuggerOnWorkerStart(); |
+ void didStartWorker(WorkerInspectorProxy*, const KURL&, bool waitingForDebugger); |
void workerTerminated(WorkerInspectorProxy*); |
// Called from Dispatcher |
void enable(ErrorString*) override; |
- void connectToWorker(ErrorString*, const String& workerId) override; |
- void disconnectFromWorker(ErrorString*, const String& workerId) override; |
void sendMessageToWorker(ErrorString*, const String& workerId, const String& message) override; |
- void setAutoconnectToWorkers(ErrorString*, bool value) override; |
+ void setWaitForDebuggerOnStart(ErrorString*, bool value) override; |
void setTracingSessionId(const String&); |
@@ -100,7 +98,7 @@ public: |
private: |
InspectorWorkerAgent(InspectedFrames*, PageConsoleAgent*); |
void createWorkerAgentClientsForExistingWorkers(); |
- void createWorkerAgentClient(WorkerInspectorProxy*, const String& url, const String& id); |
+ void createWorkerAgentClient(WorkerInspectorProxy*, const String& url, const String& id, bool waitingForDebugger); |
void destroyWorkerAgentClients(); |
class WorkerInfo { |