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

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

Issue 23444058: Use downloadToFile option when XHR downloads a Blob (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add LayoutTests expected file for Linux Created 7 years, 3 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: Source/core/xml/XMLHttpRequest.h
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
index ad3546d55fd71439db1ed5813fe0e1e5681be0c7..d010acc0296e79214664406789bbfb398285bb7e 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -158,6 +158,10 @@ private:
virtual void didSendData(unsigned long long bytesSent, unsigned long long totalBytesToBeSent);
virtual void didReceiveResponse(unsigned long identifier, const ResourceResponse&);
virtual void didReceiveData(const char* data, int dataLength);
+
tyoshino (SeeGerritForStatus) 2013/09/19 06:58:46 no need to have a blank line here. let's keep thes
yusukesuzuki 2013/09/19 07:19:06 Done.
+ // When "blob" is specified as the responseType attribute, didDownloadData
+ // is called instead of didReceiveData.
+ virtual void didDownloadData(int dataLength);
virtual void didFinishLoading(unsigned long identifier, double finishTime);
virtual void didFail(const ResourceError&);
virtual void didFailRedirectCheck();

Powered by Google App Engine
This is Rietveld 408576698