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

Unified Diff: Source/core/workers/WorkerMessagingProxy.cpp

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/workers/WorkerMessagingProxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/workers/WorkerMessagingProxy.cpp
diff --git a/Source/core/workers/WorkerMessagingProxy.cpp b/Source/core/workers/WorkerMessagingProxy.cpp
index f0551265b1209e07e986f8397573056e1190001d..f8a6ab2ccbd89a044ef0c2d29834d2cd20c639a3 100644
--- a/Source/core/workers/WorkerMessagingProxy.cpp
+++ b/Source/core/workers/WorkerMessagingProxy.cpp
@@ -121,7 +121,7 @@ void WorkerMessagingProxy::startWorkerGlobalScope(const KURL& scriptURL, const S
RefPtr<DedicatedWorkerThread> thread = DedicatedWorkerThread::create(*this, *m_workerObjectProxy.get(), originTime, startupData.release());
thread->start();
workerThreadCreated(thread);
- InspectorInstrumentation::didStartWorkerGlobalScope(m_executionContext.get(), this, scriptURL);
+ InspectorInstrumentation::didStartWorker(m_executionContext.get(), this, scriptURL);
}
void WorkerMessagingProxy::postMessageToWorkerObject(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChannelArray> channels)
@@ -231,7 +231,7 @@ static void connectToWorkerGlobalScopeInspectorTask(ExecutionContext* context, b
toWorkerGlobalScope(context)->workerInspectorController()->connectFrontend();
}
-void WorkerMessagingProxy::connectToInspector(WorkerGlobalScopeProxy::PageInspector* pageInspector)
+void WorkerMessagingProxy::connectToInspector(WorkerInspectorProxy::PageInspector* pageInspector)
{
if (m_askedToTerminate)
return;
@@ -332,7 +332,7 @@ bool WorkerMessagingProxy::hasPendingActivity() const
void WorkerMessagingProxy::terminateInternally()
{
- InspectorInstrumentation::workerGlobalScopeTerminated(m_executionContext.get(), this);
+ InspectorInstrumentation::workerTerminated(m_executionContext.get(), this);
// FIXME: This need to be revisited when we support nested worker one day
ASSERT(m_executionContext->isDocument());
« no previous file with comments | « Source/core/workers/WorkerMessagingProxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698