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

Unified Diff: third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp

Issue 2727633006: DevTools: Rename InspectorInstrumentation:: namespace into probe:: (Closed)
Patch Set: Created 3 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/workers/WorkerInspectorProxy.cpp
diff --git a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
index 22a18f09cd705097b663188787f921b2e8fba647..e372b8403482befd5df6fb87a67a837572201850 100644
--- a/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
+++ b/third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp
@@ -51,7 +51,7 @@ const String& WorkerInspectorProxy::inspectorId() {
WorkerThreadStartMode WorkerInspectorProxy::workerStartMode(
Document* document) {
- if (InspectorInstrumentation::shouldWaitForDebuggerOnWorkerStart(document))
+ if (probe::shouldWaitForDebuggerOnWorkerStart(document))
return PauseWorkerGlobalScopeOnStart;
return DontPauseWorkerGlobalScopeOnStart;
}
@@ -65,16 +65,15 @@ void WorkerInspectorProxy::workerThreadCreated(Document* document,
inspectorProxies().insert(this);
// We expect everyone starting worker thread to synchronously ask for
// workerStartMode right before.
- bool waitingForDebugger =
- InspectorInstrumentation::shouldWaitForDebuggerOnWorkerStart(document);
- InspectorInstrumentation::didStartWorker(document, this, waitingForDebugger);
+ bool waitingForDebugger = probe::shouldWaitForDebuggerOnWorkerStart(document);
+ probe::didStartWorker(document, this, waitingForDebugger);
}
void WorkerInspectorProxy::workerThreadTerminated() {
if (m_workerThread) {
DCHECK(inspectorProxies().contains(this));
inspectorProxies().erase(this);
- InspectorInstrumentation::workerTerminated(m_document, this);
+ probe::workerTerminated(m_document, this);
}
m_workerThread = nullptr;

Powered by Google App Engine
This is Rietveld 408576698