| 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/webrequest/webrequest_api_constants.h" | 5 #include "chrome/browser/extensions/api/web_request/web_request_api_constants.h" |
| 6 | 6 |
| 7 namespace extension_webrequest_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"; |
| 16 const char kPortKey[] = "port"; | 16 const char kPortKey[] = "port"; |
| 17 const char kMethodKey[] = "method"; | 17 const char kMethodKey[] = "method"; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 "cancel cannot be true in the presence of other keys."; | 51 "cancel cannot be true in the presence of other keys."; |
| 52 const char kInvalidRequestFilterUrl[] = "'*' is not a valid URL pattern."; | 52 const char kInvalidRequestFilterUrl[] = "'*' is not a valid URL pattern."; |
| 53 const char kBlockingPermissionRequired[] = | 53 const char kBlockingPermissionRequired[] = |
| 54 "You do not have permission to use blocking webRequest listeners. " | 54 "You do not have permission to use blocking webRequest listeners. " |
| 55 "Be sure to declare the webRequestBlocking permission in your " | 55 "Be sure to declare the webRequestBlocking permission in your " |
| 56 "manifest."; | 56 "manifest."; |
| 57 const char kHostPermissionsRequired[] = | 57 const char kHostPermissionsRequired[] = |
| 58 "You need to request host permissions in the manifest file in order to " | 58 "You need to request host permissions in the manifest file in order to " |
| 59 "be notified about requests from the webRequest API."; | 59 "be notified about requests from the webRequest API."; |
| 60 | 60 |
| 61 } // namespace extension_webrequest_api_constants | 61 } // namespace extension_web_request_api_constants |
| OLD | NEW |