chromium/net/cert/mock_cert_net_fetcher.cc

// Copyright 2021 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/cert/mock_cert_net_fetcher.h"

#include "net/cert/x509_util.h"

namespace net {

MockCertNetFetcher::MockCertNetFetcher() = default;
MockCertNetFetcher::~MockCertNetFetcher() = default;

MockCertNetFetcherRequest::MockCertNetFetcherRequest(Error error,
                                                     std::vector<uint8_t> bytes)
    :{}
MockCertNetFetcherRequest::~MockCertNetFetcherRequest() = default;

// static
std::unique_ptr<CertNetFetcher::Request> MockCertNetFetcherRequest::Create(
    Error error) {}

// static
std::unique_ptr<CertNetFetcher::Request> MockCertNetFetcherRequest::Create(
    std::vector<uint8_t> bytes) {}

// static
std::unique_ptr<CertNetFetcher::Request> MockCertNetFetcherRequest::Create(
    const CRYPTO_BUFFER* buffer) {}

void MockCertNetFetcherRequest::WaitForResult(Error* error,
                                              std::vector<uint8_t>* bytes) {}

}  // namespace net