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 20d93b9a2c49d8247c1d0c1e70ce7f27e9f92ba4..bb06339a5aa6e7fb8010ce041676a929d8624431 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -46,6 +46,7 @@ |
#include "chrome/browser/predictors/resource_prefetch_predictor_factory.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/profiles/profile_manager.h" |
+#include "chrome/browser/ssl/expect_ct_reporter.h" |
#include "chrome/browser/ui/search/new_tab_page_interceptor_service.h" |
#include "chrome/browser/ui/search/new_tab_page_interceptor_service_factory.h" |
#include "chrome/common/chrome_paths.h" |
@@ -1072,6 +1073,10 @@ void ProfileIOData::Init( |
net::CertificateReportSender::DO_NOT_SEND_COOKIES)); |
transport_security_state_->SetReportSender(certificate_report_sender_.get()); |
+ expect_ct_monitor_.reset(new ExpectCTReporter( |
+ main_request_context_.get(), transport_security_state_.get())); |
+ network_delegate->set_expect_ct_monitor(expect_ct_monitor_.get()); |
+ |
// Take ownership over these parameters. |
cookie_settings_ = profile_params_->cookie_settings; |
host_content_settings_map_ = profile_params_->host_content_settings_map; |