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 #include "chrome/common/extensions/matcher/url_matcher_constants.h" | 5 #include "chrome/common/extensions/matcher/url_matcher_constants.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 namespace url_matcher_constants { | 8 namespace url_matcher_constants { |
9 | 9 |
10 // Keys of dictionaries for URL constraints | 10 // Keys of dictionaries for URL constraints |
11 const char kPortsKey[] = "ports"; | 11 const char kPortsKey[] = "ports"; |
12 const char kSchemesKey[] = "schemes"; | 12 const char kSchemesKey[] = "schemes"; |
13 const char kHostContainsKey[] = "hostContains"; | 13 const char kHostContainsKey[] = "hostContains"; |
14 const char kHostEqualsKey[] = "hostEquals"; | 14 const char kHostEqualsKey[] = "hostEquals"; |
15 const char kHostPrefixKey[] = "hostPrefix"; | 15 const char kHostPrefixKey[] = "hostPrefix"; |
16 const char kHostSuffixKey[] = "hostSuffix"; | 16 const char kHostSuffixKey[] = "hostSuffix"; |
17 const char kHostSuffixPathPrefixKey[] = "hostSuffixPathPrefix"; | 17 const char kHostSuffixPathPrefixKey[] = "hostSuffixPathPrefix"; |
18 const char kPathContainsKey[] = "pathContains"; | 18 const char kPathContainsKey[] = "pathContains"; |
19 const char kPathEqualsKey[] = "pathEquals"; | 19 const char kPathEqualsKey[] = "pathEquals"; |
20 const char kPathPrefixKey[] = "pathPrefix"; | 20 const char kPathPrefixKey[] = "pathPrefix"; |
21 const char kPathSuffixKey[] = "pathSuffix"; | 21 const char kPathSuffixKey[] = "pathSuffix"; |
22 const char kQueryContainsKey[] = "queryContains"; | 22 const char kQueryContainsKey[] = "queryContains"; |
23 const char kQueryEqualsKey[] = "queryEquals"; | 23 const char kQueryEqualsKey[] = "queryEquals"; |
24 const char kQueryPrefixKey[] = "queryPrefix"; | 24 const char kQueryPrefixKey[] = "queryPrefix"; |
25 const char kQuerySuffixKey[] = "querySuffix"; | 25 const char kQuerySuffixKey[] = "querySuffix"; |
26 const char kURLContainsKey[] = "urlContains"; | 26 const char kURLContainsKey[] = "urlContains"; |
27 const char kURLEqualsKey[] = "urlEquals"; | 27 const char kURLEqualsKey[] = "urlEquals"; |
| 28 const char kURLMatchesKey[] = "urlMatches"; |
28 const char kURLPrefixKey[] = "urlPrefix"; | 29 const char kURLPrefixKey[] = "urlPrefix"; |
29 const char kURLSuffixKey[] = "urlSuffix"; | 30 const char kURLSuffixKey[] = "urlSuffix"; |
30 | 31 |
31 } // namespace url_matcher_constants | 32 } // namespace url_matcher_constants |
32 } // namespace extensions | 33 } // namespace extensions |
OLD | NEW |