| 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 // Constants used for the WebRequest API. | 5 // Constants used for the WebRequest API. |
| 6 | 6 |
| 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEBREQUEST_WEBREQUEST_API_CONSTANTS_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_API_WEBREQUEST_WEBREQUEST_API_CONSTANTS_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
| 9 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 namespace extension_webrequest_api_constants { | 11 namespace extension_web_request_api_constants { |
| 12 | 12 |
| 13 // Keys. | 13 // Keys. |
| 14 extern const char kChallengerKey[]; | 14 extern const char kChallengerKey[]; |
| 15 extern const char kErrorKey[]; | 15 extern const char kErrorKey[]; |
| 16 extern const char kFrameIdKey[]; | 16 extern const char kFrameIdKey[]; |
| 17 extern const char kParentFrameIdKey[]; | 17 extern const char kParentFrameIdKey[]; |
| 18 extern const char kFromCache[]; | 18 extern const char kFromCache[]; |
| 19 extern const char kHostKey[]; | 19 extern const char kHostKey[]; |
| 20 extern const char kIpKey[]; | 20 extern const char kIpKey[]; |
| 21 extern const char kMethodKey[]; | 21 extern const char kMethodKey[]; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 52 extern const char kOnResponseStarted[]; | 52 extern const char kOnResponseStarted[]; |
| 53 extern const char kOnSendHeaders[]; | 53 extern const char kOnSendHeaders[]; |
| 54 | 54 |
| 55 // Error messages. | 55 // Error messages. |
| 56 extern const char kInvalidRedirectUrl[]; | 56 extern const char kInvalidRedirectUrl[]; |
| 57 extern const char kInvalidBlockingResponse[]; | 57 extern const char kInvalidBlockingResponse[]; |
| 58 extern const char kInvalidRequestFilterUrl[]; | 58 extern const char kInvalidRequestFilterUrl[]; |
| 59 extern const char kBlockingPermissionRequired[]; | 59 extern const char kBlockingPermissionRequired[]; |
| 60 extern const char kHostPermissionsRequired[]; | 60 extern const char kHostPermissionsRequired[]; |
| 61 | 61 |
| 62 } // namespace extension_webrequest_api_constants | 62 } // namespace extension_web_request_api_constants |
| 63 | 63 |
| 64 #endif // CHROME_BROWSER_EXTENSIONS_API_WEBREQUEST_WEBREQUEST_API_CONSTANTS_H_ | 64 #endif // CHROME_BROWSER_EXTENSIONS_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H
_ |
| OLD | NEW |