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

Unified Diff: third_party/WebKit/Source/modules/filesystem/FileWriter.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/filesystem/FileWriter.cpp
diff --git a/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp b/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp
index a4bf8b83712d1da8631b2e251c2663381a919f46..196730a792f3eafc5b95e7aa50848794f97d1d55 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp
+++ b/third_party/WebKit/Source/modules/filesystem/FileWriter.cpp
@@ -237,8 +237,7 @@ void FileWriter::completeAbort() {
}
void FileWriter::doOperation(Operation operation) {
- InspectorInstrumentation::asyncTaskScheduled(getExecutionContext(),
- "FileWriter", this);
+ probe::asyncTaskScheduled(getExecutionContext(), "FileWriter", this);
switch (operation) {
case OperationWrite:
DCHECK_EQ(OperationNone, m_operationInProgress);
@@ -287,11 +286,11 @@ void FileWriter::signalCompletion(FileError::ErrorCode code) {
fireEvent(EventTypeNames::write);
fireEvent(EventTypeNames::writeend);
- InspectorInstrumentation::asyncTaskCanceled(getExecutionContext(), this);
+ probe::asyncTaskCanceled(getExecutionContext(), this);
}
void FileWriter::fireEvent(const AtomicString& type) {
- InspectorInstrumentation::AsyncTask asyncTask(getExecutionContext(), this);
+ probe::AsyncTask asyncTask(getExecutionContext(), this);
++m_recursionDepth;
dispatchEvent(
ProgressEvent::create(type, true, m_bytesWritten, m_bytesToWrite));

Powered by Google App Engine
This is Rietveld 408576698