url_matcher_constants.h 1.8 KB

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