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

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

Issue 422063004: Certificate Transparency: Require SCTs for EV certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing pointer type and tests Created 6 years, 1 month 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/off_the_record_profile_io_data.cc
diff --git a/chrome/browser/profiles/off_the_record_profile_io_data.cc b/chrome/browser/profiles/off_the_record_profile_io_data.cc
index a9afbb02c979d54ff4aa2d585e79a6f90116b44d..2379264ca6966f49d493f1681777f70a0d1dfc4d 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -226,6 +226,9 @@ void OffTheRecordProfileIOData::InitializeInternal(
main_context->set_cert_transparency_verifier(
io_thread_globals->cert_transparency_verifier.get());
+ main_context->set_cert_policy_enforcer(
+ io_thread_globals->cert_policy_enforcer.get());
+
// For incognito, we use the default non-persistent HttpServerPropertiesImpl.
set_http_server_properties(
scoped_ptr<net::HttpServerProperties>(
@@ -301,6 +304,9 @@ void OffTheRecordProfileIOData::
extensions_context->set_cert_transparency_verifier(
io_thread_globals->cert_transparency_verifier.get());
+ extensions_context->set_cert_policy_enforcer(
+ io_thread_globals->cert_policy_enforcer.get());
+
// All we care about for extensions is the cookie store. For incognito, we
// use a non-persistent cookie store.
net::CookieMonster* extensions_cookie_store =

Powered by Google App Engine
This is Rietveld 408576698