Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Unified Diff: chrome/browser/profiles/profile_io_data.cc

Issue 1227943002: Allow browser tests to use a MockCertVerifier (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: style fixes, comments Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/profiles/profile_io_data.cc
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc
index 0963814dfe9779f2d6761433ad2ca2389c51b892..e973cf2b5aa225ba63b5469ce9d3a3b2562bd116 100644
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -1094,7 +1094,8 @@ void ProfileIOData::Init(
DCHECK_EQ(policy_cert_verifier_, cert_verifier_.get());
policy_cert_verifier_->InitializeOnIOThread(verify_proc);
} else {
- cert_verifier_.reset(new net::MultiThreadedCertVerifier(verify_proc.get()));
+ cert_verifier_.reset(
+ net::CertVerifier::CreateWithVerifyProc(verify_proc.get()));
}
main_request_context_->set_cert_verifier(cert_verifier_.get());
#else

Powered by Google App Engine
This is Rietveld 408576698