| 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 extern const char kMethodKey[]; | 21 extern const char kMethodKey[]; |
| 22 extern const char kPortKey[]; | 22 extern const char kPortKey[]; |
| 23 extern const char kRedirectUrlKey[]; | 23 extern const char kRedirectUrlKey[]; |
| 24 extern const char kRequestIdKey[]; | 24 extern const char kRequestIdKey[]; |
| 25 extern const char kStatusCodeKey[]; | 25 extern const char kStatusCodeKey[]; |
| 26 extern const char kStatusLineKey[]; | 26 extern const char kStatusLineKey[]; |
| 27 extern const char kTabIdKey[]; | 27 extern const char kTabIdKey[]; |
| 28 extern const char kTimeStampKey[]; | 28 extern const char kTimeStampKey[]; |
| 29 extern const char kTypeKey[]; | 29 extern const char kTypeKey[]; |
| 30 extern const char kUrlKey[]; | 30 extern const char kUrlKey[]; |
| 31 extern const char kPostDataKey[]; |
| 31 extern const char kRequestHeadersKey[]; | 32 extern const char kRequestHeadersKey[]; |
| 32 extern const char kResponseHeadersKey[]; | 33 extern const char kResponseHeadersKey[]; |
| 33 extern const char kHeadersKey[]; | 34 extern const char kHeadersKey[]; |
| 34 extern const char kHeaderNameKey[]; | 35 extern const char kHeaderNameKey[]; |
| 35 extern const char kHeaderValueKey[]; | 36 extern const char kHeaderValueKey[]; |
| 36 extern const char kHeaderBinaryValueKey[]; | 37 extern const char kHeaderBinaryValueKey[]; |
| 37 extern const char kIsProxyKey[]; | 38 extern const char kIsProxyKey[]; |
| 38 extern const char kSchemeKey[]; | 39 extern const char kSchemeKey[]; |
| 39 extern const char kRealmKey[]; | 40 extern const char kRealmKey[]; |
| 40 extern const char kAuthCredentialsKey[]; | 41 extern const char kAuthCredentialsKey[]; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 55 // Error messages. | 56 // Error messages. |
| 56 extern const char kInvalidRedirectUrl[]; | 57 extern const char kInvalidRedirectUrl[]; |
| 57 extern const char kInvalidBlockingResponse[]; | 58 extern const char kInvalidBlockingResponse[]; |
| 58 extern const char kInvalidRequestFilterUrl[]; | 59 extern const char kInvalidRequestFilterUrl[]; |
| 59 extern const char kBlockingPermissionRequired[]; | 60 extern const char kBlockingPermissionRequired[]; |
| 60 extern const char kHostPermissionsRequired[]; | 61 extern const char kHostPermissionsRequired[]; |
| 61 | 62 |
| 62 } // namespace extension_web_request_api_constants | 63 } // namespace extension_web_request_api_constants |
| 63 | 64 |
| 64 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H
_ | 65 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H
_ |
| OLD | NEW |