#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;
std::unique_ptr<CertNetFetcher::Request> MockCertNetFetcherRequest::Create(
Error error) { … }
std::unique_ptr<CertNetFetcher::Request> MockCertNetFetcherRequest::Create(
std::vector<uint8_t> bytes) { … }
std::unique_ptr<CertNetFetcher::Request> MockCertNetFetcherRequest::Create(
const CRYPTO_BUFFER* buffer) { … }
void MockCertNetFetcherRequest::WaitForResult(Error* error,
std::vector<uint8_t>* bytes) { … }
}