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

Unified Diff: Source/core/xml/XMLHttpRequest.h

Issue 79953004: Improve fidelity of XHR progress events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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: Source/core/xml/XMLHttpRequest.h
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
index aa1fdff3c5446a3e1dc3bde4d227677e73d1638b..2b181c1baa7f340e6f99efd127bcdb2c4cadd29e 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -186,9 +186,9 @@ private:
// Dispatches an event of the specified type to m_upload and
// m_progressEventThrottle.
- void dispatchEventAndLoadEnd(const AtomicString&);
+ void dispatchEventAndLoadEnd(const AtomicString&, long long, unsigned long long);
- void dispatchThrottledProgressEvent();
+ void dispatchThrottledProgressEvent(const AtomicString&);
tyoshino (SeeGerritForStatus) 2013/11/22 04:48:21 comment that - this method builds a ProgressEvent
sof 2013/11/22 07:17:05 Done.
// Does clean up common for all kind of didFail() call.
void handleDidFailGeneric();
@@ -199,7 +199,7 @@ private:
// Handles didFail() call for timeout.
void handleDidTimeout();
- void handleRequestError(ExceptionCode, const AtomicString&);
+ void handleRequestError(ExceptionCode, const AtomicString&, long long, unsigned long long);
OwnPtr<XMLHttpRequestUpload> m_upload;

Powered by Google App Engine
This is Rietveld 408576698