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

Unified Diff: webkit/plugins/ppapi/ppb_url_request_info_impl.cc

Issue 6592071: Pepper/Flapper: Add an interface to do sync file ops on FileRefs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome/renderer
Patch Set: make upload progress work Created 9 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: webkit/plugins/ppapi/ppb_url_request_info_impl.cc
diff --git a/webkit/plugins/ppapi/ppb_url_request_info_impl.cc b/webkit/plugins/ppapi/ppb_url_request_info_impl.cc
index 897bbb4edbc512afb92594c4c5df10894b6d005a..f7b472eea244251b655ee2c4654686110f10b709 100644
--- a/webkit/plugins/ppapi/ppb_url_request_info_impl.cc
+++ b/webkit/plugins/ppapi/ppb_url_request_info_impl.cc
@@ -278,6 +278,7 @@ WebURLRequest PPB_URLRequestInfo_Impl::ToWebURLRequest(WebFrame* frame) const {
web_request.initialize();
web_request.setURL(frame->document().completeURL(WebString::fromUTF8(url_)));
web_request.setDownloadToFile(stream_to_file_);
+ web_request.setReportUploadProgress(record_upload_progress());
if (!method_.empty())
web_request.setHTTPMethod(WebString::fromUTF8(method_));
« webkit/plugins/ppapi/ppb_flash_file_impl.cc ('K') | « webkit/plugins/ppapi/ppb_flash_file_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698