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

Unified Diff: third_party/WebKit/Source/modules/webdatabase/SQLStatement.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/SQLStatement.cpp
diff --git a/third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp b/third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp
index f0eb2637d421826c4cf2f63a8ef4305ede0fce65..9398575027fd5c2eac00e77259d4d73ac65f6264 100644
--- a/third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp
+++ b/third_party/WebKit/Source/modules/webdatabase/SQLStatement.cpp
@@ -54,9 +54,10 @@ SQLStatement::SQLStatement(Database* database,
: m_statementCallback(callback), m_statementErrorCallback(errorCallback) {
DCHECK(isMainThread());
- if (hasCallback() || hasErrorCallback())
- InspectorInstrumentation::asyncTaskScheduled(
- database->getExecutionContext(), "SQLStatement", this);
+ if (hasCallback() || hasErrorCallback()) {
+ probe::asyncTaskScheduled(database->getExecutionContext(), "SQLStatement",
+ this);
+ }
}
DEFINE_TRACE(SQLStatement) {
@@ -87,8 +88,8 @@ bool SQLStatement::performCallback(SQLTransaction* transaction) {
SQLStatementErrorCallback* errorCallback = m_statementErrorCallback.release();
SQLErrorData* error = m_backend->sqlError();
- InspectorInstrumentation::AsyncTask asyncTask(
- transaction->database()->getExecutionContext(), this);
+ probe::AsyncTask asyncTask(transaction->database()->getExecutionContext(),
+ this);
// Call the appropriate statement callback and track if it resulted in an
// error, because then we need to jump to the transaction error callback.

Powered by Google App Engine
This is Rietveld 408576698