#include "content/public/test/content_mock_cert_verifier.h"
#include "base/command_line.h"
#include "base/feature_list.h"
#include "content/public/browser/network_service_instance.h"
#include "content/public/browser/network_service_util.h"
#include "content/public/common/content_switches.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/network_service_test_helper.h"
#include "mojo/public/cpp/bindings/sync_call_restrictions.h"
#include "services/network/network_context.h"
#include "services/network/public/cpp/features.h"
#include "services/network/public/mojom/network_service.mojom.h"
namespace content {
ContentMockCertVerifier::CertVerifier::CertVerifier(
net::MockCertVerifier* verifier)
: … { … }
ContentMockCertVerifier::CertVerifier::~CertVerifier() = default;
void ContentMockCertVerifier::CertVerifier::set_default_result(
int default_result) { … }
void ContentMockCertVerifier::CertVerifier::AddResultForCert(
scoped_refptr<net::X509Certificate> cert,
const net::CertVerifyResult& verify_result,
int rv) { … }
void ContentMockCertVerifier::CertVerifier::AddResultForCertAndHost(
scoped_refptr<net::X509Certificate> cert,
const std::string& host_pattern,
const net::CertVerifyResult& verify_result,
int rv) { … }
void ContentMockCertVerifier::CertVerifier::
EnsureNetworkServiceTestInitialized() { … }
ContentMockCertVerifier::ContentMockCertVerifier()
: … { … }
ContentMockCertVerifier::~ContentMockCertVerifier() { … }
void ContentMockCertVerifier::SetUpCommandLine(
base::CommandLine* command_line) { … }
void ContentMockCertVerifier::SetUpInProcessBrowserTestFixture() { … }
void ContentMockCertVerifier::TearDownInProcessBrowserTestFixture() { … }
ContentMockCertVerifier::CertVerifier*
ContentMockCertVerifier::mock_cert_verifier() { … }
}