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 or listeners can | 13 // Signals to which WebRequestRulesRegistries are registered or listeners can |
14 // be registered. | 14 // be registered. |
15 extern const char kOnRequest[]; | 15 extern const char kOnRequest[]; |
16 extern const char kOnMessage[]; | 16 extern const char kOnMessage[]; |
17 | 17 |
18 // Keys of dictionaries. | 18 // Keys of dictionaries. |
19 extern const char kAgeLowerBoundKey[]; | 19 extern const char kAgeLowerBoundKey[]; |
20 extern const char kAgeUpperBoundKey[]; | 20 extern const char kAgeUpperBoundKey[]; |
21 extern const char kCookieKey[]; | 21 extern const char kCookieKey[]; |
22 extern const char kContentTypeKey[]; | 22 extern const char kContentTypeKey[]; |
23 extern const char kDomainKey[]; | 23 extern const char kDomainKey[]; |
24 extern const char kExcludeContentTypeKey[]; | 24 extern const char kExcludeContentTypeKey[]; |
25 extern const char kExcludeRequestHeadersKey[]; | 25 extern const char kExcludeRequestHeadersKey[]; |
26 extern const char kExcludeResponseHeadersKey[]; | 26 extern const char kExcludeResponseHeadersKey[]; |
27 extern const char kExpiresKey[]; | 27 extern const char kExpiresKey[]; |
28 extern const char kFilterKey[]; | 28 extern const char kFilterKey[]; |
| 29 extern const char kFirstPartyForCookiesUrlKey[]; |
29 extern const char kFromKey[]; | 30 extern const char kFromKey[]; |
30 extern const char kHttpOnlyKey[]; | 31 extern const char kHttpOnlyKey[]; |
31 extern const char kInstanceTypeKey[]; | 32 extern const char kInstanceTypeKey[]; |
32 extern const char kLowerPriorityThanKey[]; | 33 extern const char kLowerPriorityThanKey[]; |
33 extern const char kMaxAgeKey[]; | 34 extern const char kMaxAgeKey[]; |
34 extern const char kMessageKey[]; | 35 extern const char kMessageKey[]; |
35 extern const char kModificationKey[]; | 36 extern const char kModificationKey[]; |
36 extern const char kNameContainsKey[]; | 37 extern const char kNameContainsKey[]; |
37 extern const char kNameEqualsKey[]; | 38 extern const char kNameEqualsKey[]; |
38 extern const char kNameKey[]; | 39 extern const char kNameKey[]; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 extern const char kRemoveResponseCookieType[]; | 79 extern const char kRemoveResponseCookieType[]; |
79 extern const char kRemoveResponseHeaderType[]; | 80 extern const char kRemoveResponseHeaderType[]; |
80 extern const char kRequestMatcherType[]; | 81 extern const char kRequestMatcherType[]; |
81 extern const char kSendMessageToExtensionType[]; | 82 extern const char kSendMessageToExtensionType[]; |
82 extern const char kSetRequestHeaderType[]; | 83 extern const char kSetRequestHeaderType[]; |
83 | 84 |
84 } // namespace declarative_webrequest_constants | 85 } // namespace declarative_webrequest_constants |
85 } // namespace extensions | 86 } // namespace extensions |
86 | 87 |
87 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST
ANTS_H_ | 88 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_WEBREQUEST_WEBREQUEST_CONST
ANTS_H_ |
OLD | NEW |