Commit a55fa40b authored by Clark DuVall's avatar Clark DuVall Committed by Commit Bot

Fix ChromeMockCertVerifier not setting up in-process NS certs

ChromeMockCertVerifier was forgetting to call the parent class methods
that set up the in-process NS cert verifier.

Bug: 908993
Change-Id: I15251a705006c7f5dd1dc99027999e1b8739e416
Reviewed-on: https://chromium-review.googlesource.com/c/1355194Reviewed-by: default avatarJohn Abd-El-Malek <jam@chromium.org>
Commit-Queue: Clark DuVall <cduvall@chromium.org>
Cr-Commit-Position: refs/heads/master@{#612327}
parent 17a0e1ef
......@@ -11,11 +11,13 @@ ChromeMockCertVerifier::ChromeMockCertVerifier() = default;
ChromeMockCertVerifier::~ChromeMockCertVerifier() = default;
void ChromeMockCertVerifier::SetUpInProcessBrowserTestFixture() {
ContentMockCertVerifier::SetUpInProcessBrowserTestFixture();
IOThread::SetCertVerifierForTesting(mock_cert_verifier_internal());
ProfileIOData::SetCertVerifierForTesting(mock_cert_verifier_internal());
}
void ChromeMockCertVerifier::TearDownInProcessBrowserTestFixture() {
ContentMockCertVerifier::TearDownInProcessBrowserTestFixture();
IOThread::SetCertVerifierForTesting(nullptr);
ProfileIOData::SetCertVerifierForTesting(nullptr);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment