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 #include "extensions/browser/api/web_request/web_request_api_constants.h" | 5 #include "extensions/browser/api/web_request/web_request_api_constants.h" |
6 | 6 |
7 namespace extension_web_request_api_constants { | 7 namespace extension_web_request_api_constants { |
8 | 8 |
9 const char kChallengerKey[] = "challenger"; | 9 const char kChallengerKey[] = "challenger"; |
10 const char kErrorKey[] = "error"; | 10 const char kErrorKey[] = "error"; |
11 const char kFrameIdKey[] = "frameId"; | 11 const char kFrameIdKey[] = "frameId"; |
12 const char kParentFrameIdKey[] = "parentFrameId"; | 12 const char kParentFrameIdKey[] = "parentFrameId"; |
| 13 const char kProcessIdKey[] = "processId"; |
13 const char kFromCache[] = "fromCache"; | 14 const char kFromCache[] = "fromCache"; |
14 const char kHostKey[] = "host"; | 15 const char kHostKey[] = "host"; |
15 const char kIpKey[] = "ip"; | 16 const char kIpKey[] = "ip"; |
16 const char kPortKey[] = "port"; | 17 const char kPortKey[] = "port"; |
17 const char kMethodKey[] = "method"; | 18 const char kMethodKey[] = "method"; |
18 const char kRedirectUrlKey[] = "redirectUrl"; | 19 const char kRedirectUrlKey[] = "redirectUrl"; |
19 const char kRequestIdKey[] = "requestId"; | 20 const char kRequestIdKey[] = "requestId"; |
20 const char kStatusCodeKey[] = "statusCode"; | 21 const char kStatusCodeKey[] = "statusCode"; |
21 const char kStatusLineKey[] = "statusLine"; | 22 const char kStatusLineKey[] = "statusLine"; |
22 const char kTabIdKey[] = "tabId"; | 23 const char kTabIdKey[] = "tabId"; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 const char kHostPermissionsRequired[] = | 73 const char kHostPermissionsRequired[] = |
73 "You need to request host permissions in the manifest file in order to " | 74 "You need to request host permissions in the manifest file in order to " |
74 "be notified about requests from the webRequest API."; | 75 "be notified about requests from the webRequest API."; |
75 const char kInvalidHeaderKeyCombination[] = | 76 const char kInvalidHeaderKeyCombination[] = |
76 "requestHeaders and responseHeaders cannot both be present."; | 77 "requestHeaders and responseHeaders cannot both be present."; |
77 const char kInvalidHeader[] = "Invalid header specification '*'."; | 78 const char kInvalidHeader[] = "Invalid header specification '*'."; |
78 const char kInvalidHeaderName[] = "Invalid header name."; | 79 const char kInvalidHeaderName[] = "Invalid header name."; |
79 const char kInvalidHeaderValue[] = "Header '*' has an invalid value."; | 80 const char kInvalidHeaderValue[] = "Header '*' has an invalid value."; |
80 | 81 |
81 } // namespace extension_web_request_api_constants | 82 } // namespace extension_web_request_api_constants |
OLD | NEW |