diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-15 18:27:40 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-12-15 18:27:40 +0000 |
commit | 3ed7496fcf01af71b591fa3ced274cfbdad78c9f (patch) | |
tree | fc910174f4d25620ac2e4da476568773496084ca /chrome/browser/profiles | |
parent | 2910a1b662c04634c9e8fd4d4d58b06c88ff729b (diff) | |
download | chromium_src-3ed7496fcf01af71b591fa3ced274cfbdad78c9f.zip chromium_src-3ed7496fcf01af71b591fa3ced274cfbdad78c9f.tar.gz chromium_src-3ed7496fcf01af71b591fa3ced274cfbdad78c9f.tar.bz2 |
Revert: Revert "net: remove DNS certificate checking code."
Now with ChromeOS fix.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114664 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profiles')
-rw-r--r-- | chrome/browser/profiles/off_the_record_profile_io_data.cc | 2 | ||||
-rw-r--r-- | chrome/browser/profiles/profile_impl_io_data.cc | 3 | ||||
-rw-r--r-- | chrome/browser/profiles/profile_io_data.cc | 4 | ||||
-rw-r--r-- | chrome/browser/profiles/profile_io_data.h | 6 |
4 files changed, 0 insertions, 15 deletions
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 bdf0845..b6eb8eb 100644 --- a/chrome/browser/profiles/off_the_record_profile_io_data.cc +++ b/chrome/browser/profiles/off_the_record_profile_io_data.cc @@ -168,7 +168,6 @@ void OffTheRecordProfileIOData::LazyInitializeInternal( io_thread_globals->cert_verifier.get()); main_context->set_http_auth_handler_factory( io_thread_globals->http_auth_handler_factory.get()); - main_context->set_dns_cert_checker(dns_cert_checker()); main_context->set_fraudulent_certificate_reporter( fraudulent_certificate_reporter()); main_context->set_proxy_service(proxy_service()); @@ -204,7 +203,6 @@ void OffTheRecordProfileIOData::LazyInitializeInternal( main_context->cert_verifier(), main_context->origin_bound_cert_service(), main_context->transport_security_state(), - main_context->dns_cert_checker(), main_context->proxy_service(), kIncognitoSSLCacheShard, main_context->ssl_config_service(), diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc index 4ac9eb4..5d56035 100644 --- a/chrome/browser/profiles/profile_impl_io_data.cc +++ b/chrome/browser/profiles/profile_impl_io_data.cc @@ -290,10 +290,8 @@ void ProfileImplIOData::LazyInitializeInternal( media_request_context_->set_http_auth_handler_factory( io_thread_globals->http_auth_handler_factory.get()); - main_context->set_dns_cert_checker(dns_cert_checker()); main_context->set_fraudulent_certificate_reporter( fraudulent_certificate_reporter()); - media_request_context_->set_dns_cert_checker(dns_cert_checker()); media_request_context_->set_fraudulent_certificate_reporter( fraudulent_certificate_reporter()); @@ -370,7 +368,6 @@ void ProfileImplIOData::LazyInitializeInternal( main_context->cert_verifier(), main_context->origin_bound_cert_service(), main_context->transport_security_state(), - main_context->dns_cert_checker(), main_context->proxy_service(), "", // pass empty ssl_session_cache_shard to share the SSL session cache // with everything that doesn't explicitly want a different one. diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc index d92f4ce..297cee0 100644 --- a/chrome/browser/profiles/profile_io_data.cc +++ b/chrome/browser/profiles/profile_io_data.cc @@ -26,7 +26,6 @@ #include "chrome/browser/io_thread.h" #include "chrome/browser/media/media_internals.h" #include "chrome/browser/net/chrome_cookie_notification_details.h" -#include "chrome/browser/net/chrome_dns_cert_provenance_checker_factory.h" #include "chrome/browser/net/chrome_fraudulent_certificate_reporter.h" #include "chrome/browser/net/chrome_net_log.h" #include "chrome/browser/net/chrome_network_delegate.h" @@ -433,9 +432,6 @@ void ProfileIOData::LazyInitialize() const { profile_params_->profile, &enable_referrers_)); - dns_cert_checker_.reset( - CreateDnsCertProvenanceChecker(io_thread_globals->dnsrr_resolver.get(), - main_request_context_)); fraudulent_certificate_reporter_.reset( new chrome_browser_net::ChromeFraudulentCertificateReporter( main_request_context_)); diff --git a/chrome/browser/profiles/profile_io_data.h b/chrome/browser/profiles/profile_io_data.h index 2bed053..33ec9bb 100644 --- a/chrome/browser/profiles/profile_io_data.h +++ b/chrome/browser/profiles/profile_io_data.h @@ -44,7 +44,6 @@ class MediaStreamManager; namespace net { class CookieStore; -class DnsCertProvenanceChecker; class FraudulentCertificateReporter; class HttpTransactionFactory; class OriginBoundCertService; @@ -205,10 +204,6 @@ class ProfileIOData { return network_delegate_.get(); } - net::DnsCertProvenanceChecker* dns_cert_checker() const { - return dns_cert_checker_.get(); - } - net::FraudulentCertificateReporter* fraudulent_certificate_reporter() const { return fraudulent_certificate_reporter_.get(); } @@ -283,7 +278,6 @@ class ProfileIOData { chrome_url_data_manager_backend_; mutable scoped_ptr<net::OriginBoundCertService> origin_bound_cert_service_; mutable scoped_ptr<net::NetworkDelegate> network_delegate_; - mutable scoped_ptr<net::DnsCertProvenanceChecker> dns_cert_checker_; mutable scoped_ptr<net::FraudulentCertificateReporter> fraudulent_certificate_reporter_; mutable scoped_ptr<net::ProxyService> proxy_service_; |