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

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

Issue 477313002: DevTools: Extract WorkerInspectorProxy interface from WorkerGlobalScopeProxy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed. Created 6 years, 4 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
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/core/inspector/InspectorWorkerAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorWorkerAgent.h
diff --git a/Source/core/inspector/InspectorWorkerAgent.h b/Source/core/inspector/InspectorWorkerAgent.h
index c2861e81d34e1aae9bfb54a6054aefd88266abb7..d3b158850b8158e89f2ce106420c8132e91c01ca 100644
--- a/Source/core/inspector/InspectorWorkerAgent.h
+++ b/Source/core/inspector/InspectorWorkerAgent.h
@@ -40,7 +40,7 @@ namespace blink {
class InstrumentingAgents;
class JSONObject;
class KURL;
-class WorkerGlobalScopeProxy;
+class WorkerInspectorProxy;
typedef String ErrorString;
@@ -56,8 +56,8 @@ public:
// Called from InspectorInstrumentation
bool shouldPauseDedicatedWorkerOnStart();
- void didStartWorkerGlobalScope(WorkerGlobalScopeProxy*, const KURL&);
- void workerGlobalScopeTerminated(WorkerGlobalScopeProxy*);
+ void didStartWorker(WorkerInspectorProxy*, const KURL&);
+ void workerTerminated(WorkerInspectorProxy*);
// Called from InspectorBackendDispatcher
virtual void enable(ErrorString*) OVERRIDE;
@@ -73,7 +73,7 @@ public:
private:
InspectorWorkerAgent();
void createWorkerFrontendChannelsForExistingWorkers();
- void createWorkerFrontendChannel(WorkerGlobalScopeProxy*, const String& url);
+ void createWorkerFrontendChannel(WorkerInspectorProxy*, const String& url);
void destroyWorkerFrontendChannels();
InspectorFrontend::Worker* m_frontend;
@@ -81,8 +81,8 @@ private:
class WorkerFrontendChannel;
typedef HashMap<int, WorkerFrontendChannel*> WorkerChannels;
WorkerChannels m_idToChannel;
- typedef HashMap<WorkerGlobalScopeProxy*, String> DedicatedWorkers;
- DedicatedWorkers m_dedicatedWorkers;
+ typedef HashMap<WorkerInspectorProxy*, String> WorkerIds;
+ WorkerIds m_workerIds;
String m_tracingSessionId;
};
« no previous file with comments | « Source/core/inspector/InspectorInstrumentation.idl ('k') | Source/core/inspector/InspectorWorkerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698