Revert "Reland c91b178b07b0d - Delete dead signin code (SigninGlobalError)"
[chromium-blink-merge.git] / chrome / browser / ssl / cert_verifier_browser_test.cc
blob5ec31c36acaa5606c5a3ccf113ad47a1d20faa3e
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ssl/cert_verifier_browser_test.h"
7 #include "chrome/browser/profiles/profile_io_data.h"
8 #include "net/cert/mock_cert_verifier.h"
10 CertVerifierBrowserTest::CertVerifierBrowserTest()
11 : InProcessBrowserTest(),
12 mock_cert_verifier_(new net::MockCertVerifier()) {}
14 CertVerifierBrowserTest::~CertVerifierBrowserTest() {}
16 void CertVerifierBrowserTest::SetUpInProcessBrowserTestFixture() {
17 ProfileIOData::SetCertVerifierForTesting(mock_cert_verifier_.get());
20 void CertVerifierBrowserTest::TearDownInProcessBrowserTestFixture() {
21 ProfileIOData::SetCertVerifierForTesting(nullptr);
24 net::MockCertVerifier* CertVerifierBrowserTest::mock_cert_verifier() {
25 return mock_cert_verifier_.get();