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

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

Issue 2067843003: Require a CTVerifier and CTPolicyEnforcer for TLS/QUIC sockets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixup Created 4 years, 6 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
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 eb3b13d5f2afab3dc7e7ec0d1056e561846b76f6..b25643224e7f3d1d23067faee6e28f081e2c88d9 100644
--- a/chrome/browser/profiles/off_the_record_profile_io_data.cc
+++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc
@@ -205,6 +205,10 @@ void OffTheRecordProfileIOData::InitializeInternal(
ApplyProfileParamsToContext(main_context);
main_context->set_transport_security_state(transport_security_state());
+ main_context->set_cert_transparency_verifier(
+ io_thread_globals->cert_transparency_verifier.get());
+ main_context->set_ct_policy_enforcer(
+ io_thread_globals->ct_policy_enforcer.get());
main_context->set_net_log(io_thread->net_log());
@@ -218,8 +222,6 @@ void OffTheRecordProfileIOData::InitializeInternal(
io_thread_globals->http_auth_handler_factory.get());
main_context->set_proxy_service(proxy_service());
- main_context->set_cert_transparency_verifier(
- io_thread_globals->cert_transparency_verifier.get());
main_context->set_backoff_manager(
io_thread_globals->url_request_backoff_manager.get());
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/profiles/profile_impl_io_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698