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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.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/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp
index 79c175a16eec8cf69720e4cf22dea22cf3a18f64..fb804025e8bacc5c2c4a8e235e083f57ce74809c 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestProgressEventThrottle.cpp
@@ -131,8 +131,8 @@ void XMLHttpRequestProgressEventThrottle::dispatchReadyStateChangeEvent(
// the previously dispatched event changes the readyState (e.g. when
// the event handler calls xhr.abort()). In such cases a
// readystatechange should have been already dispatched if necessary.
- InspectorInstrumentation::AsyncTask asyncTask(
- m_target->getExecutionContext(), m_target, m_target->isAsync());
+ probe::AsyncTask asyncTask(m_target->getExecutionContext(), m_target,
+ m_target->isAsync());
m_target->dispatchEvent(event);
}
}
@@ -145,8 +145,8 @@ void XMLHttpRequestProgressEventThrottle::dispatchProgressProgressEvent(
TRACE_EVENT1("devtools.timeline", "XHRReadyStateChange", "data",
InspectorXhrReadyStateChangeEvent::data(
m_target->getExecutionContext(), m_target));
- InspectorInstrumentation::AsyncTask asyncTask(
- m_target->getExecutionContext(), m_target, m_target->isAsync());
+ probe::AsyncTask asyncTask(m_target->getExecutionContext(), m_target,
+ m_target->isAsync());
m_target->dispatchEvent(Event::create(EventTypeNames::readystatechange));
TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"),
"UpdateCounters", TRACE_EVENT_SCOPE_THREAD, "data",
@@ -157,8 +157,8 @@ void XMLHttpRequestProgressEventThrottle::dispatchProgressProgressEvent(
return;
m_hasDispatchedProgressProgressEvent = true;
- InspectorInstrumentation::AsyncTask asyncTask(m_target->getExecutionContext(),
- m_target, m_target->isAsync());
+ probe::AsyncTask asyncTask(m_target->getExecutionContext(), m_target,
+ m_target->isAsync());
m_target->dispatchEvent(progressEvent);
}

Powered by Google App Engine
This is Rietveld 408576698