#include "net/dns/host_resolver_manager_service_endpoint_request_impl.h"
#include "base/memory/safe_ref.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
#include "base/types/optional_util.h"
#include "net/base/net_errors.h"
#include "net/dns/dns_alias_utility.h"
#include "net/dns/dns_task_results_manager.h"
#include "net/dns/host_resolver.h"
#include "net/dns/host_resolver_manager.h"
#include "net/dns/public/resolve_error_info.h"
#include "url/scheme_host_port.h"
namespace net {
HostResolverManager::ServiceEndpointRequestImpl::FinalizedResult::
FinalizedResult(std::vector<ServiceEndpoint> endpoints,
std::set<std::string> dns_aliases)
: … { … }
HostResolverManager::ServiceEndpointRequestImpl::FinalizedResult::
~FinalizedResult() = default;
HostResolverManager::ServiceEndpointRequestImpl::FinalizedResult::
FinalizedResult(FinalizedResult&&) = default;
HostResolverManager::ServiceEndpointRequestImpl::FinalizedResult&
HostResolverManager::ServiceEndpointRequestImpl::FinalizedResult::operator=(
FinalizedResult&&) = default;
HostResolverManager::ServiceEndpointRequestImpl::ServiceEndpointRequestImpl(
url::SchemeHostPort scheme_host_port,
NetworkAnonymizationKey network_anonymization_key,
NetLogWithSource net_log,
ResolveHostParameters parameters,
base::WeakPtr<ResolveContext> resolve_context,
base::WeakPtr<HostResolverManager> manager,
const base::TickClock* tick_clock)
: … { … }
HostResolverManager::ServiceEndpointRequestImpl::~ServiceEndpointRequestImpl() { … }
int HostResolverManager::ServiceEndpointRequestImpl::Start(Delegate* delegate) { … }
const std::vector<ServiceEndpoint>&
HostResolverManager::ServiceEndpointRequestImpl::GetEndpointResults() { … }
const std::set<std::string>&
HostResolverManager::ServiceEndpointRequestImpl::GetDnsAliasResults() { … }
bool HostResolverManager::ServiceEndpointRequestImpl::EndpointsCryptoReady() { … }
ResolveErrorInfo
HostResolverManager::ServiceEndpointRequestImpl::GetResolveErrorInfo() { … }
void HostResolverManager::ServiceEndpointRequestImpl::ChangeRequestPriority(
RequestPriority priority) { … }
void HostResolverManager::ServiceEndpointRequestImpl::AssignJob(
base::SafeRef<Job> job) { … }
void HostResolverManager::ServiceEndpointRequestImpl::OnJobCompleted(
const HostCache::Entry& results,
bool obtained_securely) { … }
void HostResolverManager::ServiceEndpointRequestImpl::OnJobCancelled() { … }
void HostResolverManager::ServiceEndpointRequestImpl::
OnServiceEndpointsChanged() { … }
base::WeakPtr<HostResolverManager::ServiceEndpointRequestImpl>
HostResolverManager::ServiceEndpointRequestImpl::GetWeakPtr() { … }
void HostResolverManager::ServiceEndpointRequestImpl::
SetFinalizedResultFromLegacyResults(const HostCache::Entry& results) { … }
void HostResolverManager::ServiceEndpointRequestImpl::LogCancelRequest() { … }
}