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

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

Issue 1679133002: [DevTools] Remove isRunRequired, replace autoConnectToWorkers with setWaitForDebuggerOnStart. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined tests 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 aed02c4968862af1b79e084971759912b78c1476..a95dc3c0b3ec51c1098754e056bac76877baae2a 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorWorkerAgent.h
@@ -58,15 +58,13 @@ public:
// Called from InspectorInstrumentation
bool shouldPauseDedicatedWorkerOnStart();
- void didStartWorker(WorkerInspectorProxy*, const KURL&);
+ void didStartWorker(WorkerInspectorProxy*, const KURL&, bool pausedOnStart);
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 setAutoconnectToWorkers(ErrorString*, bool value) override;
+ void setPauseWorkersOnStart(ErrorString*, bool value) override;
void setTracingSessionId(const String&);
@@ -99,7 +97,7 @@ public:
private:
InspectorWorkerAgent(PageConsoleAgent*);
void createWorkerAgentClientsForExistingWorkers();
- void createWorkerAgentClient(WorkerInspectorProxy*, const String& url, const String& id);
+ void createWorkerAgentClient(WorkerInspectorProxy*, const String& url, const String& id, bool pausedOnStart);
void destroyWorkerAgentClients();
class WorkerInfo {

Powered by Google App Engine
This is Rietveld 408576698