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 URLMatcher component of the Declarative API. | 5 // Constants used for the URLMatcher component of the Declarative API. |
6 | 6 |
7 #ifndef EXTENSIONS_COMMON_MATCHER_URL_MATCHER_CONSTANTS_H_ | 7 #ifndef EXTENSIONS_COMMON_MATCHER_URL_MATCHER_CONSTANTS_H_ |
8 #define EXTENSIONS_COMMON_MATCHER_URL_MATCHER_CONSTANTS_H_ | 8 #define EXTENSIONS_COMMON_MATCHER_URL_MATCHER_CONSTANTS_H_ |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
11 namespace url_matcher_constants { | 11 namespace url_matcher_constants { |
12 | 12 |
13 // Keys of dictionaries for URL constraints | 13 // Keys of dictionaries for URL constraints |
14 extern const char kPortsKey[]; | 14 extern const char kPortsKey[]; |
15 extern const char kSchemesKey[]; | 15 extern const char kSchemesKey[]; |
16 extern const char kHostContainsKey[]; | 16 extern const char kHostContainsKey[]; |
17 extern const char kHostEqualsKey[]; | 17 extern const char kHostEqualsKey[]; |
18 extern const char kHostPrefixKey[]; | 18 extern const char kHostPrefixKey[]; |
19 extern const char kHostSuffixKey[]; | 19 extern const char kHostSuffixKey[]; |
20 extern const char kHostSuffixPathPrefixKey[]; | 20 extern const char kHostSuffixPathPrefixKey[]; |
| 21 extern const char kOriginAndPathMatchesKey[]; |
21 extern const char kPathContainsKey[]; | 22 extern const char kPathContainsKey[]; |
22 extern const char kPathEqualsKey[]; | 23 extern const char kPathEqualsKey[]; |
23 extern const char kPathPrefixKey[]; | 24 extern const char kPathPrefixKey[]; |
24 extern const char kPathSuffixKey[]; | 25 extern const char kPathSuffixKey[]; |
25 extern const char kQueryContainsKey[]; | 26 extern const char kQueryContainsKey[]; |
26 extern const char kQueryEqualsKey[]; | 27 extern const char kQueryEqualsKey[]; |
27 extern const char kQueryPrefixKey[]; | 28 extern const char kQueryPrefixKey[]; |
28 extern const char kQuerySuffixKey[]; | 29 extern const char kQuerySuffixKey[]; |
29 extern const char kURLContainsKey[]; | 30 extern const char kURLContainsKey[]; |
30 extern const char kURLEqualsKey[]; | 31 extern const char kURLEqualsKey[]; |
31 extern const char kURLMatchesKey[]; | 32 extern const char kURLMatchesKey[]; |
32 extern const char kURLPrefixKey[]; | 33 extern const char kURLPrefixKey[]; |
33 extern const char kURLSuffixKey[]; | 34 extern const char kURLSuffixKey[]; |
34 | 35 |
35 } // namespace url_matcher_constants | 36 } // namespace url_matcher_constants |
36 } // namespace extensions | 37 } // namespace extensions |
37 | 38 |
38 #endif // EXTENSIONS_COMMON_MATCHER_URL_MATCHER_CONSTANTS_H_ | 39 #endif // EXTENSIONS_COMMON_MATCHER_URL_MATCHER_CONSTANTS_H_ |
OLD | NEW |