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

Unified Diff: third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.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/modules/remoteplayback/RemotePlayback.cpp
diff --git a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
index 3a266f590fad4bedbcf6da978dbc62b4fdea0a66..7458b32ce1a5a41ada1eb430e85b12702f414dc6 100644
--- a/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
+++ b/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp
@@ -41,7 +41,7 @@ const AtomicString& remotePlaybackStateToString(WebRemotePlaybackState state) {
void runNotifyInitialAvailabilityTask(ExecutionContext* context,
std::unique_ptr<WTF::Closure> task) {
- InspectorInstrumentation::AsyncTask asyncTask(context, task.get());
+ probe::AsyncTask asyncTask(context, task.get());
(*task)();
}
@@ -101,8 +101,8 @@ ScriptPromise RemotePlayback::watchAvailability(
// We can remove the wrapper if InspectorInstrumentation returns a task id.
std::unique_ptr<WTF::Closure> task = WTF::bind(
&RemotePlayback::notifyInitialAvailability, wrapPersistent(this), id);
- InspectorInstrumentation::asyncTaskScheduled(
- getExecutionContext(), "watchAvailabilityCallback", task.get());
+ probe::asyncTaskScheduled(getExecutionContext(), "watchAvailabilityCallback",
+ task.get());
TaskRunnerHelper::get(TaskType::MediaElementEvent, getExecutionContext())
->postTask(BLINK_FROM_HERE,
WTF::bind(runNotifyInitialAvailabilityTask,

Powered by Google App Engine
This is Rietveld 408576698