• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2020 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef NET_BASE_SCHEME_HOST_PORT_MATCHER_RESULT_H_
6 #define NET_BASE_SCHEME_HOST_PORT_MATCHER_RESULT_H_
7 
8 namespace net {
9 
10 // The result of evaluating an URLMatcherRule.
11 //
12 // Matches can be for including a URL, or for excluding a URL, or neither of
13 // them.
14 enum class SchemeHostPortMatcherResult {
15   // No match.
16   kNoMatch,
17   // The URL should be included.
18   kInclude,
19   // The URL should be excluded.
20   kExclude,
21 };
22 
23 }  // namespace net
24 #endif  // NET_BASE_SCHEME_HOST_PORT_MATCHER_RESULT_H_
25