Index: chrome/browser/profiles/off_the_record_profile_impl.cc |
diff --git a/chrome/browser/profiles/off_the_record_profile_impl.cc b/chrome/browser/profiles/off_the_record_profile_impl.cc |
index b4ffcf48b4bd9073f1c5694436ca5ad411bd58dc..cf39034d0443613068f261e263d65ffa62a91428 100644 |
--- a/chrome/browser/profiles/off_the_record_profile_impl.cc |
+++ b/chrome/browser/profiles/off_the_record_profile_impl.cc |
@@ -244,22 +244,6 @@ SSLHostState* OffTheRecordProfileImpl::GetSSLHostState() { |
return ssl_host_state_.get(); |
} |
-net::TransportSecurityState* |
- OffTheRecordProfileImpl::GetTransportSecurityState() { |
- if (!transport_security_state_.get()) { |
- transport_security_state_ = new net::TransportSecurityState( |
- CommandLine::ForCurrentProcess()->GetSwitchValueASCII( |
- switches::kHstsHosts)); |
- transport_security_loader_ = |
- new TransportSecurityPersister(transport_security_state_.get(), |
- GetPath(), |
- true /* readonly */); |
- transport_security_loader_->Init(); |
- } |
- |
- return transport_security_state_.get(); |
-} |
- |
HistoryService* OffTheRecordProfileImpl::GetHistoryService( |
ServiceAccessType sat) { |
if (sat == EXPLICIT_ACCESS) |
@@ -612,6 +596,11 @@ chrome_browser_net::Predictor* OffTheRecordProfileImpl::GetNetworkPredictor() { |
return NULL; |
} |
+void OffTheRecordProfileImpl::DeleteTransportSecurityStateSince( |
+ base::Time time) { |
+ // No need to do anything here, our transport security state is read-only. |
+} |
+ |
void OffTheRecordProfileImpl::Observe(int type, |
const NotificationSource& source, |
const NotificationDetails& details) { |