| 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 793101fc35622994d081f410a2d9b5cf924863b9..99e6ccee4f62954dadca8468d5399eb1e1622d74 100644
|
| --- a/ppapi/api/ppb_url_request_info.idl
|
| +++ b/ppapi/api/ppb_url_request_info.idl
|
| @@ -18,7 +18,7 @@ label Chrome {
|
| [assert_size(4)]
|
| enum PP_URLRequestProperty {
|
| /** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */
|
| - PP_URLREQUESTPROPERTY_URL,
|
| + PP_URLREQUESTPROPERTY_URL = 0,
|
|
|
| /**
|
| * This corresponds to a string (<code>PP_VARTYPE_STRING</code>); either
|
| @@ -27,7 +27,7 @@ enum PP_URLRequestProperty {
|
| * Methods</a> documentation for further information.
|
| *
|
| */
|
| - PP_URLREQUESTPROPERTY_METHOD,
|
| + PP_URLREQUESTPROPERTY_METHOD = 1,
|
|
|
| /**
|
| * This corresponds to a string (<code>PP_VARTYPE_STRING</code>); \n
|
| @@ -35,7 +35,7 @@ enum PP_URLRequestProperty {
|
| * <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html"Header
|
| * Field Definitions</a> documentaiton for further information.
|
| */
|
| - PP_URLREQUESTPROPERTY_HEADERS,
|
| + PP_URLREQUESTPROPERTY_HEADERS = 2,
|
|
|
| /**
|
| * This corresponds to a <code>PP_Bool</code> (<code>PP_VARTYPE_BOOL</code>;
|
| @@ -44,7 +44,7 @@ enum PP_URLRequestProperty {
|
| * to a file. Use PPB_URLLoader.FinishStreamingToFile() to complete the
|
| * download.
|
| */
|
| - PP_URLREQUESTPROPERTY_STREAMTOFILE,
|
| + PP_URLREQUESTPROPERTY_STREAMTOFILE = 3,
|
|
|
| /**
|
| * This corresponds to a <code>PP_Bool</code> (<code>PP_VARTYPE_BOOL</code>;
|
| @@ -53,7 +53,7 @@ enum PP_URLRequestProperty {
|
| * PPB_URLLoader.FollowRedirects() to follow the redirects only after
|
| * examining redirect headers.
|
| */
|
| - PP_URLREQUESTPROPERTY_FOLLOWREDIRECTS,
|
| + PP_URLREQUESTPROPERTY_FOLLOWREDIRECTS = 4,
|
|
|
| /**
|
| * This corresponds to a <code>PP_Bool</code> (<code>PP_VARTYPE_BOOL</code>;
|
| @@ -61,7 +61,7 @@ enum PP_URLRequestProperty {
|
| * Set this value to <code>PP_TRUE</code> if you want to be able to poll the
|
| * download progress using PPB_URLLoader.GetDownloadProgress().
|
| */
|
| - PP_URLREQUESTPROPERTY_RECORDDOWNLOADPROGRESS,
|
| + PP_URLREQUESTPROPERTY_RECORDDOWNLOADPROGRESS = 5,
|
|
|
| /**
|
| * This corresponds to a <code>PP_Bool</code>
|
| @@ -69,7 +69,7 @@ enum PP_URLRequestProperty {
|
| * you want to be able to poll the upload progress using
|
| * PPB_URLLoader.GetUplaodProgress().
|
| */
|
| - PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS,
|
| + PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS = 6,
|
|
|
| /**
|
| * This corresponds to a string (<code>PP_VARTYPE_STRING)</code> or may be
|
| @@ -81,7 +81,7 @@ enum PP_URLRequestProperty {
|
| * referrer; if given to a loader without universal access,
|
| * <code>PP_ERROR_NOACCESS</code> will result.
|
| */
|
| - PP_URLREQUESTPROPERTY_CUSTOMREFERRERURL,
|
| + PP_URLREQUESTPROPERTY_CUSTOMREFERRERURL = 7,
|
|
|
| /**
|
| * This corresponds to a <code>PP_Bool</code> (<code>PP_VARTYPE_BOOL</code>;
|
| @@ -92,7 +92,7 @@ enum PP_URLRequestProperty {
|
| * the <a href="http://www.w3.org/TR/access-control">Cross-Origin Resource
|
| * Sharing</a> documentation.
|
| */
|
| - PP_URLREQUESTPROPERTY_ALLOWCROSSORIGINREQUESTS,
|
| + PP_URLREQUESTPROPERTY_ALLOWCROSSORIGINREQUESTS = 8,
|
|
|
| /**
|
| * This corresponds to a <code>PP_Bool</code> (<code>PP_VARTYPE_BOOL</code>;
|
| @@ -101,7 +101,7 @@ enum PP_URLRequestProperty {
|
| * no credentials are sent with the request and cookies are ignored in the
|
| * response. If the request is not cross-origin, this property is ignored.
|
| */
|
| - PP_URLREQUESTPROPERTY_ALLOWCREDENTIALS,
|
| + PP_URLREQUESTPROPERTY_ALLOWCREDENTIALS = 9,
|
|
|
| /**
|
| * This corresponds to a string (<code>PP_VARTYPE_STRING</code>) or may be
|
| @@ -113,7 +113,7 @@ enum PP_URLRequestProperty {
|
| * to set a custom content transfer encoding; if given to a loader without
|
| * universal access, <code>PP_ERROR_NOACCESS</code> will result.
|
| */
|
| - PP_URLREQUESTPROPERTY_CUSTOMCONTENTTRANSFERENCODING,
|
| + PP_URLREQUESTPROPERTY_CUSTOMCONTENTTRANSFERENCODING = 10,
|
|
|
| /**
|
| * This corresponds to an integer (<code>PP_VARTYPE_INT32</code>); default
|
| @@ -126,7 +126,7 @@ enum PP_URLRequestProperty {
|
| * <code>PP_URLREQUESTPROPERTY_PREFETCHBUFFERLOWERERTHRESHOLD</code> must also
|
| * be set. Behavior is undefined if the former is <= the latter.
|
| */
|
| - PP_URLREQUESTPROPERTY_PREFETCHBUFFERUPPERTHRESHOLD,
|
| + PP_URLREQUESTPROPERTY_PREFETCHBUFFERUPPERTHRESHOLD = 11,
|
|
|
| /**
|
| * This corresponds to an integer (<code>PP_VARTYPE_INT32</code>); default is
|
| @@ -140,7 +140,7 @@ enum PP_URLRequestProperty {
|
| * <code>PP_URLREQUESTPROPERTY_PREFETCHBUFFERUPPERTHRESHOLD</code> must also
|
| * be set. Behavior is undefined if the former is >= the latter.
|
| */
|
| - PP_URLREQUESTPROPERTY_PREFETCHBUFFERLOWERTHRESHOLD
|
| + PP_URLREQUESTPROPERTY_PREFETCHBUFFERLOWERTHRESHOLD = 12
|
| };
|
|
|
| /**
|
|
|