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 "chrome/browser/extensions/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 kFromCache[] = "fromCache"; | 13 const char kFromCache[] = "fromCache"; |
14 const char kHostKey[] = "host"; | 14 const char kHostKey[] = "host"; |
15 const char kIpKey[] = "ip"; | 15 const char kIpKey[] = "ip"; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 const char kHostPermissionsRequired[] = | 72 const char kHostPermissionsRequired[] = |
73 "You need to request host permissions in the manifest file in order to " | 73 "You need to request host permissions in the manifest file in order to " |
74 "be notified about requests from the webRequest API."; | 74 "be notified about requests from the webRequest API."; |
75 const char kInvalidHeaderKeyCombination[] = | 75 const char kInvalidHeaderKeyCombination[] = |
76 "requestHeaders and responseHeaders cannot both be present."; | 76 "requestHeaders and responseHeaders cannot both be present."; |
77 const char kInvalidHeader[] = "Invalid header specification '*'."; | 77 const char kInvalidHeader[] = "Invalid header specification '*'."; |
78 const char kInvalidHeaderName[] = "Invalid header name."; | 78 const char kInvalidHeaderName[] = "Invalid header name."; |
79 const char kInvalidHeaderValue[] = "Header '*' has an invalid value."; | 79 const char kInvalidHeaderValue[] = "Header '*' has an invalid value."; |
80 | 80 |
81 } // namespace extension_web_request_api_constants | 81 } // namespace extension_web_request_api_constants |
OLD | NEW |