Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / components / url_matcher / url_matcher_constants.h
blob2f8e18a3230bd910d3a420261933f867d9b2bdfd
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // Constants used for the URLMatcher component of the Declarative API.
7 #ifndef COMPONENTS_URL_MATCHER_URL_MATCHER_CONSTANTS_H_
8 #define COMPONENTS_URL_MATCHER_URL_MATCHER_CONSTANTS_H_
10 #include "components/url_matcher/url_matcher_export.h"
12 namespace url_matcher {
13 namespace url_matcher_constants {
15 // Keys of dictionaries for URL constraints
16 URL_MATCHER_EXPORT extern const char kPortsKey[];
17 URL_MATCHER_EXPORT extern const char kSchemesKey[];
18 URL_MATCHER_EXPORT extern const char kHostContainsKey[];
19 URL_MATCHER_EXPORT extern const char kHostEqualsKey[];
20 URL_MATCHER_EXPORT extern const char kHostPrefixKey[];
21 URL_MATCHER_EXPORT extern const char kHostSuffixKey[];
22 URL_MATCHER_EXPORT extern const char kHostSuffixPathPrefixKey[];
23 URL_MATCHER_EXPORT extern const char kOriginAndPathMatchesKey[];
24 URL_MATCHER_EXPORT extern const char kPathContainsKey[];
25 URL_MATCHER_EXPORT extern const char kPathEqualsKey[];
26 URL_MATCHER_EXPORT extern const char kPathPrefixKey[];
27 URL_MATCHER_EXPORT extern const char kPathSuffixKey[];
28 URL_MATCHER_EXPORT extern const char kQueryContainsKey[];
29 URL_MATCHER_EXPORT extern const char kQueryEqualsKey[];
30 URL_MATCHER_EXPORT extern const char kQueryPrefixKey[];
31 URL_MATCHER_EXPORT extern const char kQuerySuffixKey[];
32 URL_MATCHER_EXPORT extern const char kURLContainsKey[];
33 URL_MATCHER_EXPORT extern const char kURLEqualsKey[];
34 URL_MATCHER_EXPORT extern const char kURLMatchesKey[];
35 URL_MATCHER_EXPORT extern const char kURLPrefixKey[];
36 URL_MATCHER_EXPORT extern const char kURLSuffixKey[];
38 } // namespace url_matcher_constants
39 } // namespace url_matcher
41 #endif // COMPONENTS_URL_MATCHER_URL_MATCHER_CONSTANTS_H_