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

Unified Diff: third_party/WebKit/Source/core/fileapi/FileReader.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/fileapi/FileReader.cpp
diff --git a/third_party/WebKit/Source/core/fileapi/FileReader.cpp b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
index 2424bcfe7330fd0a8a3b61018e8fa1fd3c9f37ef..f892a62630b96402cd4c676ba1142cf5633fca2d 100644
--- a/third_party/WebKit/Source/core/fileapi/FileReader.cpp
+++ b/third_party/WebKit/Source/core/fileapi/FileReader.cpp
@@ -93,8 +93,7 @@ class FileReader::ThrottlingController final
if (!controller)
return;
- InspectorInstrumentation::asyncTaskScheduled(context, "FileReader", reader,
- true);
+ probe::asyncTaskScheduled(context, "FileReader", reader, true);
controller->pushReader(reader);
}
@@ -115,7 +114,7 @@ class FileReader::ThrottlingController final
return;
controller->finishReader(reader, nextStep);
- InspectorInstrumentation::asyncTaskCanceled(context, reader);
+ probe::asyncTaskCanceled(context, reader);
}
DEFINE_INLINE_TRACE() {
@@ -453,7 +452,7 @@ void FileReader::didFail(FileError::ErrorCode errorCode) {
}
void FileReader::fireEvent(const AtomicString& type) {
- InspectorInstrumentation::AsyncTask asyncTask(getExecutionContext(), this);
+ probe::AsyncTask asyncTask(getExecutionContext(), this);
if (!m_loader) {
dispatchEvent(ProgressEvent::create(type, false, 0, 0));
return;
« no previous file with comments | « third_party/WebKit/Source/core/events/GenericEventQueue.cpp ('k') | third_party/WebKit/Source/core/frame/DOMTimer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698