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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataTransferItem.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/clipboard/DataTransferItem.cpp
diff --git a/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp b/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
index 1e81a9636d066158a3e5b4ac0ad60603589be915..e9cceb52b8d52399918787753797730d6935a8f5 100644
--- a/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
+++ b/third_party/WebKit/Source/core/clipboard/DataTransferItem.cpp
@@ -71,7 +71,7 @@ String DataTransferItem::type() const {
static void runGetAsStringTask(ExecutionContext* context,
StringCallback* callback,
const String& data) {
- InspectorInstrumentation::AsyncTask asyncTask(context, callback);
+ probe::AsyncTask asyncTask(context, callback);
if (context)
callback->handleEvent(data);
}
@@ -84,8 +84,7 @@ void DataTransferItem::getAsString(ScriptState* scriptState,
return;
ExecutionContext* context = scriptState->getExecutionContext();
- InspectorInstrumentation::asyncTaskScheduled(
- context, "DataTransferItem.getAsString", callback);
+ probe::asyncTaskScheduled(context, "DataTransferItem.getAsString", callback);
TaskRunnerHelper::get(TaskType::UserInteraction, scriptState)
->postTask(BLINK_FROM_HERE,
WTF::bind(&runGetAsStringTask, wrapWeakPersistent(context),

Powered by Google App Engine
This is Rietveld 408576698