// 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. #ifndef NET_CERT_MOCK_CERT_NET_FETCHER_H_ #define NET_CERT_MOCK_CERT_NET_FETCHER_H_ #include "net/cert/cert_net_fetcher.h" #include "testing/gmock/include/gmock/gmock.h" #include "third_party/boringssl/src/include/openssl/base.h" namespace net { // MockCertNetFetcher is an implementation of CertNetFetcher for testing. class MockCertNetFetcher : public CertNetFetcher { … }; // MockCertNetFetcherRequest gives back the indicated error and bytes. class MockCertNetFetcherRequest : public CertNetFetcher::Request { … }; } // namespace net #endif // NET_CERT_MOCK_CERT_NET_FETCHER_H_