#include "third_party/blink/renderer/platform/p2p/host_address_request.h"
#include <optional>
#include <utility>
#include "base/feature_list.h"
#include "base/location.h"
#include "components/webrtc/net_address_utils.h"
#include "third_party/blink/public/common/features.h"
#include "third_party/blink/renderer/platform/p2p/socket_dispatcher.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
P2PAsyncAddressResolver::P2PAsyncAddressResolver(
P2PSocketDispatcher* dispatcher)
: … { … }
P2PAsyncAddressResolver::~P2PAsyncAddressResolver() { … }
void P2PAsyncAddressResolver::Start(const rtc::SocketAddress& host_name,
std::optional<int> address_family,
DoneCallback done_callback) { … }
void P2PAsyncAddressResolver::Cancel() { … }
void P2PAsyncAddressResolver::OnResponse(
const Vector<net::IPAddress>& addresses) { … }
}