summaryrefslogtreecommitdiffstats
path: root/ppapi/c/ppb_url_response_info.h
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-13 02:43:33 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-13 02:43:33 +0000
commit03f54587d056d2c0812358fb9897b3c665ce12e0 (patch)
tree863553808fcc6e0a21ee8a744b0d4de66994d807 /ppapi/c/ppb_url_response_info.h
parent01fe08ad788807e609ef24c0e230f3cb0dff6409 (diff)
downloadchromium_src-03f54587d056d2c0812358fb9897b3c665ce12e0.zip
chromium_src-03f54587d056d2c0812358fb9897b3c665ce12e0.tar.gz
chromium_src-03f54587d056d2c0812358fb9897b3c665ce12e0.tar.bz2
Add values to all (non-dev, non-private) Pepper .idl enumerations.
This reduces the warnings when running the generator and makes the definitions more robust (or at least makes it more obvious when someone changes things). TBR=dmichael@chromium.org Review URL: http://codereview.chromium.org/8538038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109817 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/ppb_url_response_info.h')
-rw-r--r--ppapi/c/ppb_url_response_info.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ppapi/c/ppb_url_response_info.h b/ppapi/c/ppb_url_response_info.h
index 0e4d82e..399a13c6 100644
--- a/ppapi/c/ppb_url_response_info.h
+++ b/ppapi/c/ppb_url_response_info.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From ppb_url_response_info.idl modified Wed Aug 24 20:53:17 2011. */
+/* From ppb_url_response_info.idl modified Fri Nov 11 19:54:33 2011. */
#ifndef PPAPI_C_PPB_URL_RESPONSE_INFO_H_
#define PPAPI_C_PPB_URL_RESPONSE_INFO_H_
@@ -41,7 +41,7 @@ typedef enum {
* <a href="http://www.w3.org/TR/html4/struct/links.html#h-12.4.1">
* HTML Resolving Relative URIs</a> documentation for further information.
*/
- PP_URLRESPONSEPROPERTY_URL,
+ PP_URLRESPONSEPROPERTY_URL = 0,
/**
* This corresponds to a string (PP_VARTYPE_STRING); the absolute URL returned
* in the response header's 'Location' field if this is a redirect response,
@@ -49,7 +49,7 @@ typedef enum {
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3">
* HTTP Status Codes - Redirection</a> documentation for further information.
*/
- PP_URLRESPONSEPROPERTY_REDIRECTURL,
+ PP_URLRESPONSEPROPERTY_REDIRECTURL = 1,
/**
* This corresponds to a string (PP_VARTYPE_STRING); the HTTP method to be
* used in a new request if this is a redirect response, an empty string
@@ -57,7 +57,7 @@ typedef enum {
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3">
* HTTP Status Codes - Redirection</a> documentation for further information.
*/
- PP_URLRESPONSEPROPERTY_REDIRECTMETHOD,
+ PP_URLRESPONSEPROPERTY_REDIRECTMETHOD = 2,
/**
* This corresponds to an int32 (PP_VARETYPE_INT32); the status code from the
* response, e.g., 200 if the request was successful. Refer to the
@@ -65,14 +65,14 @@ typedef enum {
* HTTP Status Code and Reason Phrase</a> documentation for further
* information.
*/
- PP_URLRESPONSEPROPERTY_STATUSCODE,
+ PP_URLRESPONSEPROPERTY_STATUSCODE = 3,
/**
* This corresponds to a string (PP_VARTYPE_STRING); the status line
* from the response. Refer to the
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html#sec6.1">
* HTTP Response Status Line</a> documentation for further information.
*/
- PP_URLRESPONSEPROPERTY_STATUSLINE,
+ PP_URLRESPONSEPROPERTY_STATUSLINE = 4,
/**
* This corresponds to a string(PP_VARTYPE_STRING), a \n-delimited list of
* header field/value pairs of the form "field: value", returned by the
@@ -80,7 +80,7 @@ typedef enum {
* <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14">
* HTTP Header Field Definitions</a> documentation for further information.
*/
- PP_URLRESPONSEPROPERTY_HEADERS
+ PP_URLRESPONSEPROPERTY_HEADERS = 5
} PP_URLResponseProperty;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLResponseProperty, 4);
/**