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