#include "net/nqe/network_quality_estimator_util.h"
#include <memory>
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/notreached.h"
#include "net/base/address_list.h"
#include "net/base/ip_address.h"
#include "net/base/ip_endpoint.h"
#include "net/base/net_errors.h"
#include "net/dns/host_resolver.h"
#include "net/dns/public/host_resolver_source.h"
#include "net/url_request/url_request.h"
#include "net/url_request/url_request_context.h"
#include "url/scheme_host_port.h"
namespace net::nqe {
namespace {
bool IsPrivateHost(HostResolver* host_resolver,
url::SchemeHostPort scheme_host_port,
const NetworkAnonymizationKey& network_anonymization_key,
NetLogWithSource net_log) { … }
}
namespace internal {
bool IsRequestForPrivateHost(const URLRequest& request,
NetLogWithSource net_log) { … }
bool IsPrivateHostForTesting(
HostResolver* host_resolver,
url::SchemeHostPort scheme_host_port,
const NetworkAnonymizationKey& network_anonymization_key) { … }
}
}