OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/extension_webrequest_api_constants.h" | 5 #include "chrome/browser/extensions/extension_webrequest_api_constants.h" |
6 | 6 |
7 namespace extension_webrequest_api_constants { | 7 namespace extension_webrequest_api_constants { |
8 | 8 |
9 const char kErrorKey[] = "error"; | 9 const char kErrorKey[] = "error"; |
10 const char kIpKey[] = "ip"; | 10 const char kIpKey[] = "ip"; |
11 const char kMethodKey[] = "method"; | 11 const char kMethodKey[] = "method"; |
12 const char kRedirectUrlKey[] = "redirectUrl"; | 12 const char kRedirectUrlKey[] = "redirectUrl"; |
13 const char kRequestIdKey[] = "requestId"; | 13 const char kRequestIdKey[] = "requestId"; |
14 const char kStatusCodeKey[] = "statusCode"; | 14 const char kStatusCodeKey[] = "statusCode"; |
15 const char kTabIdKey[] = "tabId"; | 15 const char kTabIdKey[] = "tabId"; |
16 const char kTypeKey[] = "type"; | 16 const char kTypeKey[] = "type"; |
17 const char kUrlKey[] = "url"; | 17 const char kUrlKey[] = "url"; |
18 | 18 |
19 const char kOnBeforeRedirect[] = "experimental.webRequest.onBeforeRedirect"; | 19 const char kOnBeforeRedirect[] = "experimental.webRequest.onBeforeRedirect"; |
20 const char kOnBeforeRequest[] = "experimental.webRequest.onBeforeRequest"; | 20 const char kOnBeforeRequest[] = "experimental.webRequest.onBeforeRequest"; |
| 21 const char kOnBeforeSendHeaders[] = |
| 22 "experimental.webRequest.onBeforeSendHeaders"; |
21 const char kOnCompleted[] = "experimental.webRequest.onCompleted"; | 23 const char kOnCompleted[] = "experimental.webRequest.onCompleted"; |
22 const char kOnErrorOccurred[] = "experimental.webRequest.onErrorOccurred"; | 24 const char kOnErrorOccurred[] = "experimental.webRequest.onErrorOccurred"; |
23 const char kOnHeadersReceived[] = "experimental.webRequest.onHeadersReceived"; | 25 const char kOnHeadersReceived[] = "experimental.webRequest.onHeadersReceived"; |
24 const char kOnRequestSent[] = "experimental.webRequest.onRequestSent"; | 26 const char kOnRequestSent[] = "experimental.webRequest.onRequestSent"; |
25 | 27 |
26 } // namespace extension_webrequest_api_constants | 28 } // namespace extension_webrequest_api_constants |
OLD | NEW |