// Copyright 2022 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_DNS_HOST_RESOLVER_NAT64_TASK_H_ #define NET_DNS_HOST_RESOLVER_NAT64_TASK_H_ #include <memory> #include <string> #include <string_view> #include <vector> #include "base/functional/callback_forward.h" #include "base/memory/raw_ptr.h" #include "base/memory/weak_ptr.h" #include "base/sequence_checker.h" #include "net/dns/host_resolver.h" #include "net/dns/host_resolver_manager.h" #include "net/dns/public/dns_query_type.h" namespace net { class HostCache; // Representation of a single HostResolverImpl::Job task to convert an IPv4 // address literal to an IPv4-Embedded IPv6 according to rfc6052. // https://www.rfc-editor.org/rfc/rfc6052 // When a DNS64 is not found returns the original IPv4 address. // Destruction cancels the task and prevents any callbacks from being invoked. class HostResolverNat64Task { … }; } // namespace net #endif // NET_DNS_HOST_RESOLVER_NAT64_TASK_H_