Index: chrome/browser/profiles/profile_impl_io_data.cc |
=================================================================== |
--- chrome/browser/profiles/profile_impl_io_data.cc (revision 104227) |
+++ chrome/browser/profiles/profile_impl_io_data.cc (working copy) |
@@ -31,10 +31,11 @@ |
namespace { |
-void DeleteTransportSecurityStateSinceOnIOThread( |
+void ClearNetworkingHistorySinceOnIOThread( |
ProfileImplIOData* io_data, base::Time time) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |
io_data->transport_security_state()->DeleteSince(time); |
+ io_data->http_server_properties()->DeleteAll(); |
} |
} // namespace |
@@ -186,7 +187,7 @@ |
return context; |
} |
-void ProfileImplIOData::Handle::DeleteTransportSecurityStateSince( |
+void ProfileImplIOData::Handle::ClearNetworkingHistorySince( |
base::Time time) { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
LazyInitialize(); |
@@ -194,7 +195,7 @@ |
BrowserThread::PostTask( |
BrowserThread::IO, FROM_HERE, |
base::Bind( |
- &DeleteTransportSecurityStateSinceOnIOThread, |
+ &ClearNetworkingHistorySinceOnIOThread, |
io_data_, |
time)); |
} |
@@ -260,6 +261,9 @@ |
main_context->set_network_delegate(network_delegate()); |
media_request_context_->set_network_delegate(network_delegate()); |
+ main_context->set_http_server_properties(http_server_properties()); |
+ media_request_context_->set_http_server_properties(http_server_properties()); |
+ |
main_context->set_host_resolver( |
io_thread_globals->host_resolver.get()); |
media_request_context_->set_host_resolver( |
@@ -353,6 +357,7 @@ |
main_context->ssl_config_service(), |
main_context->http_auth_handler_factory(), |
main_context->network_delegate(), |
+ main_context->http_server_properties(), |
main_context->net_log(), |
main_backend); |