#include "net/base/scheme_host_port_matcher.h"
#include "base/containers/adapters.h"
#include "base/containers/contains.h"
#include "base/strings/string_tokenizer.h"
#include "base/strings/string_util.h"
#include "base/trace_event/memory_usage_estimator.h"
namespace net {
SchemeHostPortMatcher::SchemeHostPortMatcher() = default;
SchemeHostPortMatcher::SchemeHostPortMatcher(SchemeHostPortMatcher&& rhs) =
default;
SchemeHostPortMatcher& SchemeHostPortMatcher::operator=(
SchemeHostPortMatcher&& rhs) = default;
SchemeHostPortMatcher::~SchemeHostPortMatcher() = default;
constexpr char SchemeHostPortMatcher::kParseRuleListDelimiterList[];
constexpr char SchemeHostPortMatcher::kPrintRuleListDelimiter;
SchemeHostPortMatcher SchemeHostPortMatcher::FromRawString(
const std::string& raw) { … }
void SchemeHostPortMatcher::AddAsFirstRule(
std::unique_ptr<SchemeHostPortMatcherRule> rule) { … }
void SchemeHostPortMatcher::AddAsLastRule(
std::unique_ptr<SchemeHostPortMatcherRule> rule) { … }
void SchemeHostPortMatcher::ReplaceRule(
size_t index,
std::unique_ptr<SchemeHostPortMatcherRule> rule) { … }
bool SchemeHostPortMatcher::Includes(const GURL& url) const { … }
SchemeHostPortMatcherResult SchemeHostPortMatcher::Evaluate(
const GURL& url) const { … }
std::string SchemeHostPortMatcher::ToString() const { … }
void SchemeHostPortMatcher::Clear() { … }
#if !BUILDFLAG(CRONET_BUILD)
size_t SchemeHostPortMatcher::EstimateMemoryUsage() const { … }
#endif
}