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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/SQLTransaction.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/SQLTransaction.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp b/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp
index 33727537b02cccbad94ad5aefefd9d70bae374f0..6efdaece8ed7d58c43e909131cf3d417c2e916c4 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLTransaction.cpp
@@ -72,8 +72,8 @@ SQLTransaction::SQLTransaction(Database* db,
m_readOnly(readOnly) {
DCHECK(isMainThread());
ASSERT(m_database);
- InspectorInstrumentation::asyncTaskScheduled(db->getExecutionContext(),
- "SQLTransaction", this, true);
+ probe::asyncTaskScheduled(db->getExecutionContext(), "SQLTransaction", this,
+ true);
}
SQLTransaction::~SQLTransaction() {}
@@ -153,8 +153,7 @@ SQLTransactionState SQLTransaction::nextStateForTransactionError() {
SQLTransactionState SQLTransaction::deliverTransactionCallback() {
bool shouldDeliverErrorCallback = false;
- InspectorInstrumentation::AsyncTask asyncTask(
- m_database->getExecutionContext(), this);
+ probe::AsyncTask asyncTask(m_database->getExecutionContext(), this);
// Spec 4.3.2 4: Invoke the transaction callback with the new SQLTransaction
// object.
@@ -179,10 +178,8 @@ SQLTransactionState SQLTransaction::deliverTransactionCallback() {
}
SQLTransactionState SQLTransaction::deliverTransactionErrorCallback() {
- InspectorInstrumentation::AsyncTask asyncTask(
- m_database->getExecutionContext(), this);
- InspectorInstrumentation::asyncTaskCanceled(m_database->getExecutionContext(),
- this);
+ probe::AsyncTask asyncTask(m_database->getExecutionContext(), this);
+ probe::asyncTaskCanceled(m_database->getExecutionContext(), this);
// Spec 4.3.2.10: If exists, invoke error callback with the last
// error to have occurred in this transaction.
@@ -245,10 +242,8 @@ SQLTransactionState SQLTransaction::deliverQuotaIncreaseCallback() {
SQLTransactionState SQLTransaction::deliverSuccessCallback() {
DCHECK(isMainThread());
- InspectorInstrumentation::AsyncTask asyncTask(
- m_database->getExecutionContext(), this);
- InspectorInstrumentation::asyncTaskCanceled(m_database->getExecutionContext(),
- this);
+ probe::AsyncTask asyncTask(m_database->getExecutionContext(), this);
+ probe::asyncTaskCanceled(m_database->getExecutionContext(), this);
// Spec 4.3.2.8: Deliver success callback.
if (VoidCallback* successCallback = m_successCallback.release())

Powered by Google App Engine
This is Rietveld 408576698