chromium/net/tools/quic/synchronous_host_resolver.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/tools/quic/synchronous_host_resolver.h"

#include <memory>
#include <optional>
#include <utility>

#include "base/at_exit.h"
#include "base/functional/bind.h"
#include "base/location.h"
#include "base/memory/weak_ptr.h"
#include "base/message_loop/message_pump_type.h"
#include "base/run_loop.h"
#include "base/task/single_thread_task_executor.h"
#include "base/task/single_thread_task_runner.h"
#include "base/threading/simple_thread.h"
#include "net/base/host_port_pair.h"
#include "net/base/net_errors.h"
#include "net/base/network_isolation_key.h"
#include "net/dns/host_resolver.h"
#include "net/log/net_log.h"
#include "net/log/net_log_with_source.h"
#include "url/scheme_host_port.h"

namespace net {


namespace {

class ResolverThread : public base::SimpleThread {};

ResolverThread::ResolverThread() :{}

ResolverThread::~ResolverThread() = default;

void ResolverThread::Run() {}

int ResolverThread::Resolve(url::SchemeHostPort scheme_host_port,
                            AddressList* addresses) {}

void ResolverThread::OnResolutionComplete(base::OnceClosure on_done, int rv) {}

}  // namespace

// static
int SynchronousHostResolver::Resolve(url::SchemeHostPort scheme_host_port,
                                     AddressList* addresses) {}

}  // namespace net