Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h

Issue 1692813002: Revert of [DevTools] Remove isRunRequired, replace autoConnectToWorkers with setWaitForDebuggerOnStart. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 1a4b6bd93afd054325e484f4de7bb5f7b37e6ea7..aed02c4968862af1b79e084971759912b78c1476 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h
@@ -57,14 +57,16 @@
void restore() override;
// Called from InspectorInstrumentation
- bool shouldWaitForDebuggerOnWorkerStart();
- void didStartWorker(WorkerInspectorProxy*, const KURL&, bool waitingForDebugger);
+ bool shouldPauseDedicatedWorkerOnStart();
+ void didStartWorker(WorkerInspectorProxy*, const KURL&);
void workerTerminated(WorkerInspectorProxy*);
// Called from InspectorBackendDispatcher
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 setWaitForDebuggerOnStart(ErrorString*, bool value) override;
+ void setAutoconnectToWorkers(ErrorString*, bool value) override;
void setTracingSessionId(const String&);
@@ -97,7 +99,7 @@
private:
InspectorWorkerAgent(PageConsoleAgent*);
void createWorkerAgentClientsForExistingWorkers();
- void createWorkerAgentClient(WorkerInspectorProxy*, const String& url, const String& id, bool waitingForDebugger);
+ void createWorkerAgentClient(WorkerInspectorProxy*, const String& url, const String& id);
void destroyWorkerAgentClients();
class WorkerInfo {

Powered by Google App Engine
This is Rietveld 408576698