Chromium Code Reviews| Index: ppapi/c/ppb_url_request_info.h |
| diff --git a/ppapi/c/ppb_url_request_info.h b/ppapi/c/ppb_url_request_info.h |
| index 1369c314031febe99d63cd61cf1f1e2f5153f61e..d83c676b829ddf32ee63850dd102ab710eacd405 100644 |
| --- a/ppapi/c/ppb_url_request_info.h |
| +++ b/ppapi/c/ppb_url_request_info.h |
| @@ -41,14 +41,28 @@ typedef enum { |
| // URLLoader.GetUploadProgress function. |
| // |
| // Boolean (default = PP_FALSE). |
| - PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS |
| + PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS, |
| + |
| + // Set to true to set a custom referrer. The resulting URLRequestInfo object |
| + // will likely only be usable with a loader which has universal access (only |
| + // available on trusted implementations). |
| + // |
| + // Boolean (default = PP_FALSE). |
| + PP_URLREQUESTPROPERTY_USECUSTOMREFERRER, |
|
brettw
2011/03/11 20:34:44
Why do you need this flag? Can't you just key off
|
| + |
| + // The URL to use in the referrer header. This is only used if |
| + // PP_URLREQUESTPROPERTY_USECUSTOMREFERRER is true. If it is empty, then the |
| + // referrer header will be omitted. |
| + // |
| + // String (default = empty) |
| + PP_URLREQUESTPROPERTY_CUSTOMREFERRERURL |
| } PP_URLRequestProperty; |
| PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLRequestProperty, 4); |
| /** |
| * @} |
| */ |
| -#define PPB_URLREQUESTINFO_INTERFACE "PPB_URLRequestInfo;0.2" |
| +#define PPB_URLREQUESTINFO_INTERFACE "PPB_URLRequestInfo;0.3" |
| /** |
| * |