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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/DatabaseManager.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/webdatabase/DatabaseManager.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp b/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
index 5d8a7cce1fff5cfa7a5a45780e3563a739887087..0bee98e7fc538d1894fe162947e8287e19981988 100644
--- a/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/DatabaseManager.cpp
@@ -63,8 +63,7 @@ DatabaseManager::~DatabaseManager() {}
// This is just for ignoring DatabaseCallback::handleEvent()'s return value.
static void databaseCallbackHandleEvent(DatabaseCallback* callback,
Database* database) {
- InspectorInstrumentation::AsyncTask asyncTask(database->getExecutionContext(),
- callback);
+ probe::AsyncTask asyncTask(database->getExecutionContext(), callback);
callback->handleEvent(database);
}
@@ -198,8 +197,8 @@ Database* DatabaseManager::openDatabase(ExecutionContext* context,
if (database->isNew() && creationCallback) {
STORAGE_DVLOG(1) << "Scheduling DatabaseCreationCallbackTask for database "
<< database;
- InspectorInstrumentation::asyncTaskScheduled(
- database->getExecutionContext(), "openDatabase", creationCallback);
+ probe::asyncTaskScheduled(database->getExecutionContext(), "openDatabase",
+ creationCallback);
TaskRunnerHelper::get(TaskType::DatabaseAccess,
database->getExecutionContext())
->postTask(BLINK_FROM_HERE, WTF::bind(&databaseCallbackHandleEvent,

Powered by Google App Engine
This is Rietveld 408576698