| 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 a3da86cfbb76e71f950fe687acfb4650faf685f1..8e4ba02694b9bba381bfe32c35a97bdf31123543 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -64,9 +64,11 @@
|
| #include "content/public/browser/resource_context.h"
|
| #include "net/base/keygen_handler.h"
|
| #include "net/cookies/canonical_cookie.h"
|
| +#include "net/http/certificate_report_sender_impl.h"
|
| #include "net/http/http_transaction_factory.h"
|
| #include "net/http/http_util.h"
|
| #include "net/http/transport_security_persister.h"
|
| +#include "net/http/transport_security_reporter.h"
|
| #include "net/proxy/proxy_config_service_fixed.h"
|
| #include "net/proxy/proxy_script_fetcher_impl.h"
|
| #include "net/proxy/proxy_service.h"
|
| @@ -1057,6 +1059,17 @@ void ProfileIOData::Init(
|
| base::SequencedWorkerPool::BLOCK_SHUTDOWN),
|
| IsOffTheRecord()));
|
|
|
| + // TODO(estark): introduce a ChromeTransportSecurityReporter class
|
| + // that covers the ChromeFraudulentCertificateReporter functionality,
|
| + // instantiate it here, and then remove FraudulentCertificateReporter
|
| + // and ChromeFraudulentCertificateReporter.
|
| + transport_security_reporter_.reset(new net::TransportSecurityReporter(
|
| + transport_security_state_.get(),
|
| + scoped_ptr<net::CertificateReportSender>(
|
| + new net::CertificateReportSenderImpl(
|
| + main_request_context_.get(),
|
| + net::CertificateReportSender::DO_NOT_SEND_COOKIES))));
|
| +
|
| // Take ownership over these parameters.
|
| cookie_settings_ = profile_params_->cookie_settings;
|
| host_content_settings_map_ = profile_params_->host_content_settings_map;
|
|
|