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 kAgeLowerBoundKey[]; | 17 extern const char kAgeLowerBoundKey[]; |
18 extern const char kAgeUpperBoundKey[]; | 18 extern const char kAgeUpperBoundKey[]; |
19 extern const char kCookieKey[]; | 19 extern const char kCookieKey[]; |
20 extern const char kContentTypeKey[]; | 20 extern const char kContentTypeKey[]; |
21 extern const char kDomainKey[]; | 21 extern const char kDomainKey[]; |
22 extern const char kExcludeContentTypeKey[]; | 22 extern const char kExcludeContentTypeKey[]; |
23 extern const char kExcludeRequestHeadersKey[]; | 23 extern const char kExcludeRequestHeadersKey[]; |
24 extern const char kExcludeResponseHeadersKey[]; | 24 extern const char kExcludeResponseHeadersKey[]; |
25 extern const char kExpiresKey[]; | 25 extern const char kExpiresKey[]; |
26 extern const char kFilterKey[]; | 26 extern const char kFilterKey[]; |
| 27 extern const char kFirstPartyForCookiesUrlKey[]; |
27 extern const char kFromKey[]; | 28 extern const char kFromKey[]; |
28 extern const char kHttpOnlyKey[]; | 29 extern const char kHttpOnlyKey[]; |
29 extern const char kInstanceTypeKey[]; | 30 extern const char kInstanceTypeKey[]; |
30 extern const char kLowerPriorityThanKey[]; | 31 extern const char kLowerPriorityThanKey[]; |
31 extern const char kMaxAgeKey[]; | 32 extern const char kMaxAgeKey[]; |
32 extern const char kModificationKey[]; | 33 extern const char kModificationKey[]; |
33 extern const char kNameContainsKey[]; | 34 extern const char kNameContainsKey[]; |
34 extern const char kNameEqualsKey[]; | 35 extern const char kNameEqualsKey[]; |
35 extern const char kNameKey[]; | 36 extern const char kNameKey[]; |
36 extern const char kNamePrefixKey[]; | 37 extern const char kNamePrefixKey[]; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 extern const char kRemoveRequestHeaderType[]; | 75 extern const char kRemoveRequestHeaderType[]; |
75 extern const char kRemoveResponseCookieType[]; | 76 extern const char kRemoveResponseCookieType[]; |
76 extern const char kRemoveResponseHeaderType[]; | 77 extern const char kRemoveResponseHeaderType[]; |
77 extern const char kRequestMatcherType[]; | 78 extern const char kRequestMatcherType[]; |
78 extern const char kSetRequestHeaderType[]; | 79 extern const char kSetRequestHeaderType[]; |
79 | 80 |
80 } // namespace declarative_webrequest_constants | 81 } // namespace declarative_webrequest_constants |
81 } // namespace extensions | 82 } // namespace extensions |
82 | 83 |
83 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST
ANTS_H_ | 84 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST
ANTS_H_ |
OLD | NEW |