Chromium Code Reviews| Index: ppapi/api/ppb_url_request_info.idl |
| diff --git a/ppapi/api/ppb_url_request_info.idl b/ppapi/api/ppb_url_request_info.idl |
| index c6baedf668d1293760d814dbce19ec54f921e8b1..2ce1dc909dcb0d0257d2765b420bb2c7e47775bb 100644 |
| --- a/ppapi/api/ppb_url_request_info.idl |
| +++ b/ppapi/api/ppb_url_request_info.idl |
| @@ -140,7 +140,19 @@ enum PP_URLRequestProperty { |
| * <code>PP_URLREQUESTPROPERTY_PREFETCHBUFFERUPPERTHRESHOLD</code> must also |
| * be set. Behavior is undefined if the former is >= the latter. |
| */ |
| - PP_URLREQUESTPROPERTY_PREFETCHBUFFERLOWERTHRESHOLD = 12 |
| + PP_URLREQUESTPROPERTY_PREFETCHBUFFERLOWERTHRESHOLD = 12, |
| + |
| + /** |
| + * This corresponds to a string (<code>PP_VARTYPE_STRING</code>) or may be |
| + * undefined (<code>PP_VARTYPE_UNDEFINED</code>; default). |
| + * Set it to a string to set a custom user-agent header (if empty, that header |
| + * will be omitted), or to undefined to use the default |
| + * (if any). Only loaders with universal access (only available on trusted |
| + * implementations) will accept <code>URLRequestInfo</code> objects that try |
| + * to set a custom content transfer encoding; if given to a loader without |
|
brettw
2012/07/10 04:54:45
transfer encoding -> user agent
|
| + * universal access, <code>PP_ERROR_NOACCESS</code> will result. |
| + */ |
| + PP_URLREQUESTPROPERTY_CUSTOMUSERAGENT = 13 |
| }; |
| /** |