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 = |