scheme_host_port_matcher_result.h 661 B

123456789101112131415161718192021222324
  1. // Copyright 2020 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. #ifndef NET_BASE_SCHEME_HOST_PORT_MATCHER_RESULT_H_
  5. #define NET_BASE_SCHEME_HOST_PORT_MATCHER_RESULT_H_
  6. namespace net {
  7. // The result of evaluating an URLMatcherRule.
  8. //
  9. // Matches can be for including a URL, or for excluding a URL, or neither of
  10. // them.
  11. enum class SchemeHostPortMatcherResult {
  12. // No match.
  13. kNoMatch,
  14. // The URL should be included.
  15. kInclude,
  16. // The URL should be excluded.
  17. kExclude,
  18. };
  19. } // namespace net
  20. #endif // NET_BASE_SCHEME_HOST_PORT_MATCHER_RESULT_H_