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..78c61f5981a76df276d7436bb154d77eb37c18e9 100644 |
| --- a/ppapi/c/ppb_url_request_info.h |
| +++ b/ppapi/c/ppb_url_request_info.h |
| @@ -41,14 +41,24 @@ typedef enum { |
| // URLLoader.GetUploadProgress function. |
| // |
| // Boolean (default = PP_FALSE). |
| - PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS |
| + PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS, |
| + |
| + // Set to a String to set a custom referrer (if empty, the referrer header |
| + // will be omitted), or to an Undefined Var to use the default referrer. Only |
| + // loaders with universal access (only available on trusted implementations) |
| + // will accept URLRequestInfo objects which try to set a custom referrer; if |
| + // given to a loader without universal access, PP_ERROR_BADARGUMENT will |
| + // result. |
| + // |
| + // Undefined/String (default = Undefined) |
| + 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" |
|
brettw
2011/03/11 23:31:05
I don't really want to break backwards compatibili
viettrungluu
2011/03/14 17:13:53
Done.
|
| /** |
| * |