| 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 kPostDataErrorKey[]; |
| 31 extern const char kPostDataKey[]; |
| 32 extern const char kFormDataKey[]; |
| 30 extern const char kRequestHeadersKey[]; | 33 extern const char kRequestHeadersKey[]; |
| 31 extern const char kResponseHeadersKey[]; | 34 extern const char kResponseHeadersKey[]; |
| 32 extern const char kHeadersKey[]; | 35 extern const char kHeadersKey[]; |
| 33 extern const char kHeaderNameKey[]; | 36 extern const char kHeaderNameKey[]; |
| 34 extern const char kHeaderValueKey[]; | 37 extern const char kHeaderValueKey[]; |
| 35 extern const char kHeaderBinaryValueKey[]; | 38 extern const char kHeaderBinaryValueKey[]; |
| 36 extern const char kIsProxyKey[]; | 39 extern const char kIsProxyKey[]; |
| 37 extern const char kSchemeKey[]; | 40 extern const char kSchemeKey[]; |
| 38 extern const char kRealmKey[]; | 41 extern const char kRealmKey[]; |
| 39 extern const char kAuthCredentialsKey[]; | 42 extern const char kAuthCredentialsKey[]; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 54 // Error messages. | 57 // Error messages. |
| 55 extern const char kInvalidRedirectUrl[]; | 58 extern const char kInvalidRedirectUrl[]; |
| 56 extern const char kInvalidBlockingResponse[]; | 59 extern const char kInvalidBlockingResponse[]; |
| 57 extern const char kInvalidRequestFilterUrl[]; | 60 extern const char kInvalidRequestFilterUrl[]; |
| 58 extern const char kBlockingPermissionRequired[]; | 61 extern const char kBlockingPermissionRequired[]; |
| 59 extern const char kHostPermissionsRequired[]; | 62 extern const char kHostPermissionsRequired[]; |
| 60 | 63 |
| 61 } // namespace extension_web_request_api_constants | 64 } // namespace extension_web_request_api_constants |
| 62 | 65 |
| 63 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H
_ | 66 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H
_ |
| OLD | NEW |