chromium/content/browser/system_dns_resolution/system_dns_resolver.cc

// 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.

#include "content/browser/system_dns_resolution/system_dns_resolver.h"

#include <algorithm>
#include <memory>

#include "base/functional/bind.h"
#include "mojo/public/cpp/bindings/callback_helpers.h"
#include "net/base/address_list.h"
#include "net/base/net_errors.h"
#include "net/dns/dns_names_util.h"
#include "net/dns/host_resolver_system_task.h"
#include "net/log/net_log_source_type.h"
#include "net/log/net_log_with_source.h"
#include "services/network/public/mojom/system_dns_resolution.mojom.h"

namespace content {

namespace {
void ForwardSystemDnsResults(
    std::unique_ptr<net::HostResolverSystemTask>,
    network::mojom::SystemDnsResolver::ResolveCallback callback,
    const net::AddressList& addr_list,
    int os_error,
    int net_error) {}
}  // namespace

SystemDnsResolverMojoImpl::SystemDnsResolverMojoImpl() {}

// network::mojom::SystemDnsResolver impl:
void SystemDnsResolverMojoImpl::Resolve(
    const std::optional<std::string>& hostname,
    net::AddressFamily addr_family,
    int32_t flags,
    uint64_t network,
    ResolveCallback callback) {}

}  // namespace content