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

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

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 6 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/InspectorRuntimeAgent.h ('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 413ddc9d6bb0d72a0d6d3850ef7efea9b992f7a4..74146aad3c8f0af319fadc3302128aafc313c153 100644
--- a/Source/core/inspector/InspectorWorkerAgent.h
+++ b/Source/core/inspector/InspectorWorkerAgent.h
@@ -41,7 +41,7 @@ class InspectorState;
class InstrumentingAgents;
class JSONObject;
class KURL;
-class WorkerContextProxy;
+class WorkerGlobalScopeProxy;
typedef String ErrorString;
@@ -56,8 +56,8 @@ public:
// Called from InspectorInstrumentation
bool shouldPauseDedicatedWorkerOnStart();
- void didStartWorkerContext(WorkerContextProxy*, const KURL&);
- void workerContextTerminated(WorkerContextProxy*);
+ void didStartWorkerGlobalScope(WorkerGlobalScopeProxy*, const KURL&);
+ void workerGlobalScopeTerminated(WorkerGlobalScopeProxy*);
// Called from InspectorBackendDispatcher
virtual void enable(ErrorString*);
@@ -71,7 +71,7 @@ public:
private:
InspectorWorkerAgent(InstrumentingAgents*, InspectorCompositeState*);
void createWorkerFrontendChannelsForExistingWorkers();
- void createWorkerFrontendChannel(WorkerContextProxy*, const String& url);
+ void createWorkerFrontendChannel(WorkerGlobalScopeProxy*, const String& url);
void destroyWorkerFrontendChannels();
InspectorFrontend* m_inspectorFrontend;
@@ -79,7 +79,7 @@ private:
class WorkerFrontendChannel;
typedef HashMap<int, WorkerFrontendChannel*> WorkerChannels;
WorkerChannels m_idToChannel;
- typedef HashMap<WorkerContextProxy*, String> DedicatedWorkers;
+ typedef HashMap<WorkerGlobalScopeProxy*, String> DedicatedWorkers;
DedicatedWorkers m_dedicatedWorkers;
};
« no previous file with comments | « Source/core/inspector/InspectorRuntimeAgent.h ('k') | Source/core/inspector/InspectorWorkerAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698