Index: chrome/browser/profiles/profile_impl.cc |
diff --git a/chrome/browser/profiles/profile_impl.cc b/chrome/browser/profiles/profile_impl.cc |
index 17f978c7fa66c5ae8f0e4a29750d27d9892ef39a..72fe06bf09e5bc1266b5b651e76436d1e4a6d748 100644 |
--- a/chrome/browser/profiles/profile_impl.cc |
+++ b/chrome/browser/profiles/profile_impl.cc |
@@ -950,22 +950,6 @@ SSLHostState* ProfileImpl::GetSSLHostState() { |
return ssl_host_state_.get(); |
} |
-net::TransportSecurityState* |
- ProfileImpl::GetTransportSecurityState() { |
- if (!transport_security_state_.get()) { |
- transport_security_state_ = new net::TransportSecurityState( |
- CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
- switches::kHstsHosts)); |
- transport_security_persister_ = |
- new TransportSecurityPersister(transport_security_state_.get(), |
- path_, |
- false /* read-write */); |
- transport_security_persister_->Init(); |
- } |
- |
- return transport_security_state_.get(); |
-} |
- |
void ProfileImpl::OnPrefsLoaded(bool success) { |
if (!success) { |
DCHECK(delegate_); |
@@ -1828,6 +1812,10 @@ chrome_browser_net::Predictor* ProfileImpl::GetNetworkPredictor() { |
return predictor_; |
} |
+void ProfileImpl::DeleteTransportSecurityStateSince(base::Time time) { |
+ io_data_.DeleteTransportSecurityStateSince(time); |
+} |
+ |
SpellCheckProfile* ProfileImpl::GetSpellCheckProfile() { |
if (!spellcheck_profile_.get()) |
spellcheck_profile_.reset(new SpellCheckProfile()); |