| 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 EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 7 #ifndef EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
| 8 #define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 8 #define EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
| 9 | 9 |
| 10 namespace extension_web_request_api_constants { | 10 namespace extension_web_request_api_constants { |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 extern const char kOnBeforeRedirect[]; | 67 extern const char kOnBeforeRedirect[]; |
| 68 extern const char kOnBeforeRequest[]; | 68 extern const char kOnBeforeRequest[]; |
| 69 extern const char kOnBeforeSendHeaders[]; | 69 extern const char kOnBeforeSendHeaders[]; |
| 70 extern const char kOnCompleted[]; | 70 extern const char kOnCompleted[]; |
| 71 extern const char kOnErrorOccurred[]; | 71 extern const char kOnErrorOccurred[]; |
| 72 extern const char kOnHeadersReceived[]; | 72 extern const char kOnHeadersReceived[]; |
| 73 extern const char kOnResponseStarted[]; | 73 extern const char kOnResponseStarted[]; |
| 74 extern const char kOnSendHeaders[]; | 74 extern const char kOnSendHeaders[]; |
| 75 | 75 |
| 76 // Error messages. | 76 // Error messages. |
| 77 extern const char kInvalidPublicSessionBlockingResponse[]; |
| 77 extern const char kInvalidRedirectUrl[]; | 78 extern const char kInvalidRedirectUrl[]; |
| 78 extern const char kInvalidBlockingResponse[]; | 79 extern const char kInvalidBlockingResponse[]; |
| 79 extern const char kInvalidRequestFilterUrl[]; | 80 extern const char kInvalidRequestFilterUrl[]; |
| 80 extern const char kBlockingPermissionRequired[]; | 81 extern const char kBlockingPermissionRequired[]; |
| 81 extern const char kHostPermissionsRequired[]; | 82 extern const char kHostPermissionsRequired[]; |
| 82 extern const char kInvalidHeaderKeyCombination[]; | 83 extern const char kInvalidHeaderKeyCombination[]; |
| 83 extern const char kInvalidHeader[]; | 84 extern const char kInvalidHeader[]; |
| 84 extern const char kInvalidHeaderName[]; | 85 extern const char kInvalidHeaderName[]; |
| 85 extern const char kInvalidHeaderValue[]; | 86 extern const char kInvalidHeaderValue[]; |
| 86 | 87 |
| 87 } // namespace extension_web_request_api_constants | 88 } // namespace extension_web_request_api_constants |
| 88 | 89 |
| 89 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ | 90 #endif // EXTENSIONS_BROWSER_API_WEB_REQUEST_WEB_REQUEST_API_CONSTANTS_H_ |
| OLD | NEW |