OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Constants used for the WebRequest API. | 5 // Constants used for the WebRequest API. |
6 | 6 |
7 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
8 #define CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
9 | 9 |
10 namespace extension_web_request_api_constants { | 10 namespace extension_web_request_api_constants { |
11 | 11 |
12 // Keys. | 12 // Keys. |
13 extern const char kChallengerKey[]; | 13 extern const char kChallengerKey[]; |
14 extern const char kErrorKey[]; | 14 extern const char kErrorKey[]; |
15 extern const char kFrameIdKey[]; | 15 extern const char kFrameIdKey[]; |
16 extern const char kParentFrameIdKey[]; | 16 extern const char kParentFrameIdKey[]; |
17 extern const char kFromCache[]; | 17 extern const char kFromCache[]; |
18 extern const char kHostKey[]; | 18 extern const char kHostKey[]; |
19 extern const char kIpKey[]; | 19 extern const char kIpKey[]; |
20 extern const char kMethodKey[]; | 20 extern const char kMethodKey[]; |
21 extern const char kPortKey[]; | 21 extern const char kPortKey[]; |
22 extern const char kRedirectUrlKey[]; | 22 extern const char kRedirectUrlKey[]; |
23 extern const char kRequestIdKey[]; | 23 extern const char kRequestIdKey[]; |
24 extern const char kStatusCodeKey[]; | 24 extern const char kStatusCodeKey[]; |
25 extern const char kStatusLineKey[]; | 25 extern const char kStatusLineKey[]; |
26 extern const char kTabIdKey[]; | 26 extern const char kTabIdKey[]; |
27 extern const char kTimeStampKey[]; | 27 extern const char kTimeStampKey[]; |
28 extern const char kTypeKey[]; | 28 extern const char kTypeKey[]; |
29 extern const char kUrlKey[]; | 29 extern const char kUrlKey[]; |
| 30 extern const char kRequestBodyKey[]; |
| 31 extern const char kRequestBodyErrorKey[]; |
| 32 extern const char kRequestBodyFormDataKey[]; |
| 33 extern const char kRequestBodyRawKey[]; |
| 34 extern const char kRequestBodyRawBytesKey[]; |
| 35 extern const char kRequestBodyRawFileKey[]; |
| 36 extern const char kPostDataKey[]; |
| 37 extern const char kPostDataFormKey[]; |
30 extern const char kRequestHeadersKey[]; | 38 extern const char kRequestHeadersKey[]; |
31 extern const char kResponseHeadersKey[]; | 39 extern const char kResponseHeadersKey[]; |
32 extern const char kHeadersKey[]; | 40 extern const char kHeadersKey[]; |
33 extern const char kHeaderNameKey[]; | 41 extern const char kHeaderNameKey[]; |
34 extern const char kHeaderValueKey[]; | 42 extern const char kHeaderValueKey[]; |
35 extern const char kHeaderBinaryValueKey[]; | 43 extern const char kHeaderBinaryValueKey[]; |
36 extern const char kIsProxyKey[]; | 44 extern const char kIsProxyKey[]; |
37 extern const char kSchemeKey[]; | 45 extern const char kSchemeKey[]; |
38 extern const char kRealmKey[]; | 46 extern const char kRealmKey[]; |
39 extern const char kAuthCredentialsKey[]; | 47 extern const char kAuthCredentialsKey[]; |
(...skipping 14 matching lines...) Expand all Loading... |
54 // Error messages. | 62 // Error messages. |
55 extern const char kInvalidRedirectUrl[]; | 63 extern const char kInvalidRedirectUrl[]; |
56 extern const char kInvalidBlockingResponse[]; | 64 extern const char kInvalidBlockingResponse[]; |
57 extern const char kInvalidRequestFilterUrl[]; | 65 extern const char kInvalidRequestFilterUrl[]; |
58 extern const char kBlockingPermissionRequired[]; | 66 extern const char kBlockingPermissionRequired[]; |
59 extern const char kHostPermissionsRequired[]; | 67 extern const char kHostPermissionsRequired[]; |
60 | 68 |
61 } // namespace extension_web_request_api_constants | 69 } // namespace extension_web_request_api_constants |
62 | 70 |
63 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H
_ | 71 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H
_ |
OLD | NEW |