| 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 "chrome/browser/extensions/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"; |
| 16 const char kPortKey[] = "port"; | 16 const char kPortKey[] = "port"; |
| 17 const char kMethodKey[] = "method"; | 17 const char kMethodKey[] = "method"; |
| 18 const char kRedirectUrlKey[] = "redirectUrl"; | 18 const char kRedirectUrlKey[] = "redirectUrl"; |
| 19 const char kRequestIdKey[] = "requestId"; | 19 const char kRequestIdKey[] = "requestId"; |
| 20 const char kStatusCodeKey[] = "statusCode"; | 20 const char kStatusCodeKey[] = "statusCode"; |
| 21 const char kStatusLineKey[] = "statusLine"; | 21 const char kStatusLineKey[] = "statusLine"; |
| 22 const char kTabIdKey[] = "tabId"; | 22 const char kTabIdKey[] = "tabId"; |
| 23 const char kTimeStampKey[] = "timeStamp"; | 23 const char kTimeStampKey[] = "timeStamp"; |
| 24 const char kTypeKey[] = "type"; | 24 const char kTypeKey[] = "type"; |
| 25 const char kUrlKey[] = "url"; | 25 const char kUrlKey[] = "url"; |
| 26 const char kPostDataKey[] = "postData"; |
| 27 const char kPostDataErrorKey[] = "error"; |
| 28 const char kFormDataKey[] = "formData"; |
| 26 const char kRequestHeadersKey[] = "requestHeaders"; | 29 const char kRequestHeadersKey[] = "requestHeaders"; |
| 27 const char kResponseHeadersKey[] = "responseHeaders"; | 30 const char kResponseHeadersKey[] = "responseHeaders"; |
| 28 const char kHeaderNameKey[] = "name"; | 31 const char kHeaderNameKey[] = "name"; |
| 29 const char kHeaderValueKey[] = "value"; | 32 const char kHeaderValueKey[] = "value"; |
| 30 const char kHeaderBinaryValueKey[] = "binaryValue"; | 33 const char kHeaderBinaryValueKey[] = "binaryValue"; |
| 31 const char kIsProxyKey[] = "isProxy"; | 34 const char kIsProxyKey[] = "isProxy"; |
| 32 const char kSchemeKey[] = "scheme"; | 35 const char kSchemeKey[] = "scheme"; |
| 33 const char kRealmKey[] = "realm"; | 36 const char kRealmKey[] = "realm"; |
| 34 const char kAuthCredentialsKey[] = "authCredentials"; | 37 const char kAuthCredentialsKey[] = "authCredentials"; |
| 35 const char kUsernameKey[] = "username"; | 38 const char kUsernameKey[] = "username"; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 52 const char kInvalidRequestFilterUrl[] = "'*' is not a valid URL pattern."; | 55 const char kInvalidRequestFilterUrl[] = "'*' is not a valid URL pattern."; |
| 53 const char kBlockingPermissionRequired[] = | 56 const char kBlockingPermissionRequired[] = |
| 54 "You do not have permission to use blocking webRequest listeners. " | 57 "You do not have permission to use blocking webRequest listeners. " |
| 55 "Be sure to declare the webRequestBlocking permission in your " | 58 "Be sure to declare the webRequestBlocking permission in your " |
| 56 "manifest."; | 59 "manifest."; |
| 57 const char kHostPermissionsRequired[] = | 60 const char kHostPermissionsRequired[] = |
| 58 "You need to request host permissions in the manifest file in order to " | 61 "You need to request host permissions in the manifest file in order to " |
| 59 "be notified about requests from the webRequest API."; | 62 "be notified about requests from the webRequest API."; |
| 60 | 63 |
| 61 } // namespace extension_web_request_api_constants | 64 } // namespace extension_web_request_api_constants |
| OLD | NEW |