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 { |
11 namespace declarative_webrequest_constants { | 11 namespace declarative_webrequest_constants { |
12 | 12 |
13 // Signals to which WebRequestRulesRegistries are registered. | 13 // Signals to which WebRequestRulesRegistries are registered. |
14 extern const char kOnRequest[]; | 14 extern const char kOnRequest[]; |
15 | 15 |
16 // Keys of dictionaries. | 16 // Keys of dictionaries. |
17 extern const char kCookieKey[]; | 17 extern const char kCookieKey[]; |
18 extern const char kContentTypeKey[]; | 18 extern const char kContentTypeKey[]; |
19 extern const char kDirectionKey[]; | 19 extern const char kDirectionKey[]; |
20 extern const char kDomainKey[]; | 20 extern const char kDomainKey[]; |
| 21 extern const char kExcludeContentTypeKey[]; |
21 extern const char kExpiresKey[]; | 22 extern const char kExpiresKey[]; |
22 extern const char kFilterKey[]; | 23 extern const char kFilterKey[]; |
23 extern const char kFromKey[]; | 24 extern const char kFromKey[]; |
24 extern const char kHttpOnlyKey[]; | 25 extern const char kHttpOnlyKey[]; |
25 extern const char kInstanceTypeKey[]; | 26 extern const char kInstanceTypeKey[]; |
26 extern const char kLowerPriorityThanKey[]; | 27 extern const char kLowerPriorityThanKey[]; |
27 extern const char kMaxAgeKey[]; | 28 extern const char kMaxAgeKey[]; |
28 extern const char kModificationKey[]; | 29 extern const char kModificationKey[]; |
29 extern const char kNameKey[]; | 30 extern const char kNameKey[]; |
30 extern const char kPathKey[]; | 31 extern const char kPathKey[]; |
(...skipping 20 matching lines...) Expand all Loading... |
51 extern const char kRemoveRequestHeaderType[]; | 52 extern const char kRemoveRequestHeaderType[]; |
52 extern const char kRemoveResponseCookieType[]; | 53 extern const char kRemoveResponseCookieType[]; |
53 extern const char kRemoveResponseHeaderType[]; | 54 extern const char kRemoveResponseHeaderType[]; |
54 extern const char kRequestMatcherType[]; | 55 extern const char kRequestMatcherType[]; |
55 extern const char kSetRequestHeaderType[]; | 56 extern const char kSetRequestHeaderType[]; |
56 | 57 |
57 } // namespace declarative_webrequest_constants | 58 } // namespace declarative_webrequest_constants |
58 } // namespace extensions | 59 } // namespace extensions |
59 | 60 |
60 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST
ANTS_H_ | 61 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST
ANTS_H_ |
OLD | NEW |