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 EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 7 #ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
8 #define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 8 #define EXTENSIONS_BROWSER_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 kProcessIdKey[]; |
17 extern const char kFromCache[]; | 18 extern const char kFromCache[]; |
18 extern const char kHostKey[]; | 19 extern const char kHostKey[]; |
19 extern const char kIpKey[]; | 20 extern const char kIpKey[]; |
20 extern const char kMethodKey[]; | 21 extern const char kMethodKey[]; |
21 extern const char kPortKey[]; | 22 extern const char kPortKey[]; |
22 extern const char kRedirectUrlKey[]; | 23 extern const char kRedirectUrlKey[]; |
23 extern const char kRequestIdKey[]; | 24 extern const char kRequestIdKey[]; |
24 extern const char kStatusCodeKey[]; | 25 extern const char kStatusCodeKey[]; |
25 extern const char kStatusLineKey[]; | 26 extern const char kStatusLineKey[]; |
26 extern const char kTabIdKey[]; | 27 extern const char kTabIdKey[]; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 extern const char kBlockingPermissionRequired[]; | 80 extern const char kBlockingPermissionRequired[]; |
80 extern const char kHostPermissionsRequired[]; | 81 extern const char kHostPermissionsRequired[]; |
81 extern const char kInvalidHeaderKeyCombination[]; | 82 extern const char kInvalidHeaderKeyCombination[]; |
82 extern const char kInvalidHeader[]; | 83 extern const char kInvalidHeader[]; |
83 extern const char kInvalidHeaderName[]; | 84 extern const char kInvalidHeaderName[]; |
84 extern const char kInvalidHeaderValue[]; | 85 extern const char kInvalidHeaderValue[]; |
85 | 86 |
86 } // namespace extension_web_request_api_constants | 87 } // namespace extension_web_request_api_constants |
87 | 88 |
88 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 89 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
OLD | NEW |