| Index: ppapi/cpp/url_request_info.h
|
| diff --git a/ppapi/cpp/url_request_info.h b/ppapi/cpp/url_request_info.h
|
| index 9d38c6928d782ca678aafb40a208ac068685f419..cce4e91507f8e02dd7f05a542c27a3a1501f6572 100644
|
| --- a/ppapi/cpp/url_request_info.h
|
| +++ b/ppapi/cpp/url_request_info.h
|
| @@ -54,9 +54,9 @@ class URLRequestInfo : public Resource {
|
| bool SetRecordUploadProgress(bool enable) {
|
| return SetProperty(PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS, enable);
|
| }
|
| - // To use the default referrer, set url_string to an Undefined Var.
|
| - bool SetCustomReferrerURL(const Var& url_string) {
|
| - return SetProperty(PP_URLREQUESTPROPERTY_CUSTOMREFERRERURL, url_string);
|
| + // To use the default referrer, set url to an Undefined Var.
|
| + bool SetCustomReferrerURL(const Var& url) {
|
| + return SetProperty(PP_URLREQUESTPROPERTY_CUSTOMREFERRERURL, url);
|
| }
|
| bool SetAllowCrossOriginRequests(bool enable) {
|
| return SetProperty(PP_URLREQUESTPROPERTY_ALLOWCROSSORIGINREQUESTS, enable);
|
| @@ -64,6 +64,12 @@ class URLRequestInfo : public Resource {
|
| bool SetAllowCredentials(bool enable) {
|
| return SetProperty(PP_URLREQUESTPROPERTY_ALLOWCREDENTIALS, enable);
|
| }
|
| + // To use the default content transfer encoding, set content_transfer_encoding
|
| + // to an Undefined Var.
|
| + bool SetCustomContentTransferEncoding(const Var& content_transfer_encoding) {
|
| + return SetProperty(PP_URLREQUESTPROPERTY_CUSTOMCONTENTTRANSFERENCODING,
|
| + content_transfer_encoding);
|
| + }
|
| };
|
|
|
| } // namespace pp
|
|
|