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. 4 5 // Constants used for the URLMatcher component of the Declarative API. 6 7 #ifndef COMPONENTS_URL_MATCHER_URL_MATCHER_CONSTANTS_H_ 8 #define COMPONENTS_URL_MATCHER_URL_MATCHER_CONSTANTS_H_ 9 10 #include "components/url_matcher/url_matcher_export.h" 11 12 namespace url_matcher { 13 namespace url_matcher_constants { 14 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[]; 37 38 } // namespace url_matcher_constants 39 } // namespace url_matcher 40 41 #endif // COMPONENTS_URL_MATCHER_URL_MATCHER_CONSTANTS_H_ 42