diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-23 21:26:59 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-23 21:26:59 +0000 |
commit | 238ca86df5ced41e7de04492fb547259803a93a4 (patch) | |
tree | 241a3744e359e3ff5cbf682cae9b300618d86106 /ppapi/cpp | |
parent | 005542f453efeec475daa22d54ff9632fa98ffe5 (diff) | |
download | chromium_src-238ca86df5ced41e7de04492fb547259803a93a4.zip chromium_src-238ca86df5ced41e7de04492fb547259803a93a4.tar.gz chromium_src-238ca86df5ced41e7de04492fb547259803a93a4.tar.bz2 |
Pepper: Add SetRecordDownloadProgress() to pp::URLRequestInfo (C++ wrapper).
It was MIA for some reason.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6726014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp')
-rw-r--r-- | ppapi/cpp/url_request_info.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ppapi/cpp/url_request_info.h b/ppapi/cpp/url_request_info.h index c1cda4e..eabf91d 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); } |