| 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_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANT
S_H_ | 7 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANT
S_H_ |
| 8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANT
S_H_ | 8 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONSTANT
S_H_ |
| 9 | 9 |
| 10 namespace extensions { | 10 namespace extensions { |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 extern const char kMaxAgeKey[]; | 28 extern const char kMaxAgeKey[]; |
| 29 extern const char kModificationKey[]; | 29 extern const char kModificationKey[]; |
| 30 extern const char kNameKey[]; | 30 extern const char kNameKey[]; |
| 31 extern const char kPathKey[]; | 31 extern const char kPathKey[]; |
| 32 extern const char kRedirectUrlKey[]; | 32 extern const char kRedirectUrlKey[]; |
| 33 extern const char kResourceTypeKey[]; | 33 extern const char kResourceTypeKey[]; |
| 34 extern const char kSecureKey[]; | 34 extern const char kSecureKey[]; |
| 35 extern const char kToKey[]; | 35 extern const char kToKey[]; |
| 36 extern const char kUrlKey[]; | 36 extern const char kUrlKey[]; |
| 37 extern const char kValueKey[]; | 37 extern const char kValueKey[]; |
| 38 extern const char kResponseHeadersKey[]; |
| 39 extern const char kExcludeResponseHeadersKey[]; |
| 40 extern const char kNamePrefixKey[]; |
| 41 extern const char kNameSuffixKey[]; |
| 42 extern const char kNameContainsKey[]; |
| 43 extern const char kNameEqualsKey[]; |
| 44 extern const char kValuePrefixKey[]; |
| 45 extern const char kValueSuffixKey[]; |
| 46 extern const char kValueContainsKey[]; |
| 47 extern const char kValueEqualsKey[]; |
| 38 | 48 |
| 39 // Values of dictionaries, in particular instance types | 49 // Values of dictionaries, in particular instance types |
| 40 extern const char kAddRequestCookieType[]; | 50 extern const char kAddRequestCookieType[]; |
| 41 extern const char kAddResponseCookieType[]; | 51 extern const char kAddResponseCookieType[]; |
| 42 extern const char kAddResponseHeaderType[]; | 52 extern const char kAddResponseHeaderType[]; |
| 43 extern const char kCancelRequestType[]; | 53 extern const char kCancelRequestType[]; |
| 44 extern const char kEditRequestCookieType[]; | 54 extern const char kEditRequestCookieType[]; |
| 45 extern const char kEditResponseCookieType[]; | 55 extern const char kEditResponseCookieType[]; |
| 46 extern const char kIgnoreRulesType[]; | 56 extern const char kIgnoreRulesType[]; |
| 47 extern const char kRedirectByRegExType[]; | 57 extern const char kRedirectByRegExType[]; |
| 48 extern const char kRedirectRequestType[]; | 58 extern const char kRedirectRequestType[]; |
| 49 extern const char kRedirectToEmptyDocumentType[]; | 59 extern const char kRedirectToEmptyDocumentType[]; |
| 50 extern const char kRedirectToTransparentImageType[]; | 60 extern const char kRedirectToTransparentImageType[]; |
| 51 extern const char kRemoveRequestCookieType[]; | 61 extern const char kRemoveRequestCookieType[]; |
| 52 extern const char kRemoveRequestHeaderType[]; | 62 extern const char kRemoveRequestHeaderType[]; |
| 53 extern const char kRemoveResponseCookieType[]; | 63 extern const char kRemoveResponseCookieType[]; |
| 54 extern const char kRemoveResponseHeaderType[]; | 64 extern const char kRemoveResponseHeaderType[]; |
| 55 extern const char kRequestMatcherType[]; | 65 extern const char kRequestMatcherType[]; |
| 56 extern const char kSetRequestHeaderType[]; | 66 extern const char kSetRequestHeaderType[]; |
| 57 | 67 |
| 58 } // namespace declarative_webrequest_constants | 68 } // namespace declarative_webrequest_constants |
| 59 } // namespace extensions | 69 } // namespace extensions |
| 60 | 70 |
| 61 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST
ANTS_H_ | 71 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST
ANTS_H_ |
| OLD | NEW |