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

Unified Diff: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestUpload.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/XMLHttpRequestUpload.cpp
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestUpload.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestUpload.cpp
index 115ba978574a0a00f137fe58bca532a13d7f84cb..18229231dd7659f8013f0480cb231afec923cdb9 100644
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestUpload.cpp
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequestUpload.cpp
@@ -51,8 +51,8 @@ void XMLHttpRequestUpload::dispatchProgressEvent(
unsigned long long totalBytesToBeSent) {
m_lastBytesSent = bytesSent;
m_lastTotalBytesToBeSent = totalBytesToBeSent;
- InspectorInstrumentation::AsyncTask asyncTask(
- getExecutionContext(), m_xmlHttpRequest, m_xmlHttpRequest->isAsync());
+ probe::AsyncTask asyncTask(getExecutionContext(), m_xmlHttpRequest,
+ m_xmlHttpRequest->isAsync());
dispatchEvent(ProgressEvent::create(EventTypeNames::progress, true, bytesSent,
totalBytesToBeSent));
}
@@ -63,8 +63,8 @@ void XMLHttpRequestUpload::dispatchEventAndLoadEnd(const AtomicString& type,
unsigned long long total) {
DCHECK(type == EventTypeNames::load || type == EventTypeNames::abort ||
type == EventTypeNames::error || type == EventTypeNames::timeout);
- InspectorInstrumentation::AsyncTask asyncTask(
- getExecutionContext(), m_xmlHttpRequest, m_xmlHttpRequest->isAsync());
+ probe::AsyncTask asyncTask(getExecutionContext(), m_xmlHttpRequest,
+ m_xmlHttpRequest->isAsync());
dispatchEvent(
ProgressEvent::create(type, lengthComputable, bytesSent, total));
dispatchEvent(ProgressEvent::create(EventTypeNames::loadend, lengthComputable,
@@ -74,8 +74,8 @@ void XMLHttpRequestUpload::dispatchEventAndLoadEnd(const AtomicString& type,
void XMLHttpRequestUpload::handleRequestError(const AtomicString& type) {
bool lengthComputable = m_lastTotalBytesToBeSent > 0 &&
m_lastBytesSent <= m_lastTotalBytesToBeSent;
- InspectorInstrumentation::AsyncTask asyncTask(
- getExecutionContext(), m_xmlHttpRequest, m_xmlHttpRequest->isAsync());
+ probe::AsyncTask asyncTask(getExecutionContext(), m_xmlHttpRequest,
+ m_xmlHttpRequest->isAsync());
dispatchEvent(ProgressEvent::create(EventTypeNames::progress,
lengthComputable, m_lastBytesSent,
m_lastTotalBytesToBeSent));

Powered by Google App Engine
This is Rietveld 408576698