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

Unified Diff: ppapi/cpp/url_request_info.h

Issue 6726014: Pepper: Add SetRecordDownloadProgress() to pp::URLRequestInfo (C++ wrapper). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/url_request_info.h
diff --git a/ppapi/cpp/url_request_info.h b/ppapi/cpp/url_request_info.h
index c1cda4ebe1c33140e5d2b052c5bf05e52a9352ad..eabf91d7f7857b90ecf2d82faebdce281adb104e 100644
--- a/ppapi/cpp/url_request_info.h
+++ b/ppapi/cpp/url_request_info.h
@@ -48,6 +48,9 @@ class URLRequestInfo : public Resource {
bool SetFollowRedirects(bool enable) {
return SetProperty(PP_URLREQUESTPROPERTY_FOLLOWREDIRECTS, enable);
}
+ bool SetRecordDownloadProgress(bool enable) {
+ return SetProperty(PP_URLREQUESTPROPERTY_RECORDDOWNLOADPROGRESS, enable);
+ }
bool SetRecordUploadProgress(bool enable) {
return SetProperty(PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS, enable);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698