chromium/services/network/test/test_network_context_with_host_resolver.cc

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

#include "services/network/test/test_network_context_with_host_resolver.h"

namespace network {

TestNetworkContextWithHostResolver::TestNetworkContextWithHostResolver(
    std::unique_ptr<net::HostResolver> host_resolver)
    :{}

TestNetworkContextWithHostResolver::~TestNetworkContextWithHostResolver() =
    default;

void TestNetworkContextWithHostResolver::ResolveHost(
    mojom::HostResolverHostPtr host,
    const net::NetworkAnonymizationKey& network_anonymization_key,
    mojom::ResolveHostParametersPtr optional_parameters,
    mojo::PendingRemote<network::mojom::ResolveHostClient>
        pending_response_client) {}

void TestNetworkContextWithHostResolver::ResolveHostImpl(
    mojom::HostResolverHostPtr host,
    const net::NetworkAnonymizationKey& network_anonymization_key,
    mojom::ResolveHostParametersPtr optional_parameters,
    mojo::PendingRemote<network::mojom::ResolveHostClient>
        pending_response_client) {}

void TestNetworkContextWithHostResolver::OnResolveHostComplete(
    mojo::Remote<mojom::ResolveHostClient> response_client,
    std::unique_ptr<net::HostResolver::ResolveHostRequest> internal_request,
    int error) {}

}  // namespace network