#include "net/dns/host_resolver_nat64_task.h"
#include <algorithm>
#include <string_view>
#include <utility>
#include "base/check_op.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/location.h"
#include "base/memory/raw_ptr.h"
#include "base/notreached.h"
#include "base/strings/string_util.h"
#include "base/task/sequenced_task_runner.h"
#include "net/base/address_list.h"
#include "net/base/ip_endpoint.h"
#include "net/base/net_errors.h"
#include "net/dns/host_resolver.h"
#include "net/dns/host_resolver_manager.h"
#include "net/dns/public/dns_query_type.h"
namespace net {
HostResolverNat64Task::HostResolverNat64Task(
std::string_view hostname,
NetworkAnonymizationKey network_anonymization_key,
NetLogWithSource net_log,
ResolveContext* resolve_context,
base::WeakPtr<HostResolverManager> resolver)
: … { … }
HostResolverNat64Task::~HostResolverNat64Task() { … }
void HostResolverNat64Task::Start(base::OnceClosure completion_closure) { … }
HostCache::Entry HostResolverNat64Task::GetResults() const { … }
int HostResolverNat64Task::DoLoop(int result) { … }
int HostResolverNat64Task::DoResolve() { … }
int HostResolverNat64Task::DoResolveComplete(int result) { … }
int HostResolverNat64Task::DoSynthesizeToIpv6() { … }
void HostResolverNat64Task::OnIOComplete(int result) { … }
}