chromium/services/cert_verifier/cert_net_url_loader/cert_net_fetcher_test.cc

// Copyright 2019 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/cert_verifier/cert_net_url_loader/cert_net_fetcher_test.h"

#include "base/functional/bind.h"
#include "base/memory/scoped_refptr.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "services/cert_verifier/cert_net_url_loader/cert_net_fetcher_url_loader.h"
#include "services/network/public/mojom/url_loader_factory.mojom.h"

namespace cert_verifier {
CertNetFetcherTestUtil::CertNetFetcherTestUtil() {}

CertNetFetcherTestUtil::~CertNetFetcherTestUtil() = default;

void CertNetFetcherTestUtil::RebindURLLoaderFactoryTrampoline(
    mojo::PendingReceiver<network::mojom::URLLoaderFactory> pending_receiver) {}

CertNetFetcherTestUtilFakeLoader::~CertNetFetcherTestUtilFakeLoader() = default;

CertNetFetcherTestUtilFakeLoader::CertNetFetcherTestUtilFakeLoader()
    :{}

void CertNetFetcherTestUtilFakeLoader::ResetURLLoaderFactory() {}
void CertNetFetcherTestUtilFakeLoader::RebindURLLoaderFactory(
    mojo::PendingReceiver<network::mojom::URLLoaderFactory> pending_receiver) {}

CertNetFetcherTestUtilRealLoader::~CertNetFetcherTestUtilRealLoader() = default;

CertNetFetcherTestUtilRealLoader::CertNetFetcherTestUtilRealLoader()
    :{}

void CertNetFetcherTestUtilRealLoader::ResetURLLoaderFactory() {}

void CertNetFetcherTestUtilRealLoader::RebindURLLoaderFactory(
    mojo::PendingReceiver<network::mojom::URLLoaderFactory> pending_receiver) {}
}  // namespace cert_verifier