From 102e27c64d9deae4c32f346214fd7c2bddaa9fb3 Mon Sep 17 00:00:00 2001 From: "willchan@chromium.org" Date: Wed, 23 Feb 2011 01:01:31 +0000 Subject: Refactor HttpStreamFactory. Rename StreamFactory and StreamRequest to HttpStreamFactory and HttpStreamRequest. Rename HttpStreamFactory to HttpStreamFactoryImpl. Create HttpStreamFactoryImpl::Request (inherits from HttpStreamRequest) and HttpStreamFactoryImpl::Job (most of the old HttpStreamRequest code, other than the interface, moved here). Currently there is still a strong binding within HttpStreamFactoryImpl between requests and jobs. This will be removed in a future changelist. Note that due to the preparation for late binding, information like HttpRequestInfo and SSLConfig and ProxyInfo are just copied. It's possible we can consider refcounting them to reduce copies, but I think it's not worth the effort / ugliness. I also did some minor cleanups like moving SpdySettingsStorage into SpdySessionPool and some CloseIdleConnections() cleanup. BUG=54371,42669 TEST=unit tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=75668 Review URL: http://codereview.chromium.org/6543004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75688 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/renderer_host/render_message_filter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content') diff --git a/content/browser/renderer_host/render_message_filter.cc b/content/browser/renderer_host/render_message_filter.cc index 388bddb..4308e7a 100644 --- a/content/browser/renderer_host/render_message_filter.cc +++ b/content/browser/renderer_host/render_message_filter.cc @@ -1357,7 +1357,7 @@ void RenderMessageFilter::OnCloseCurrentConnections() { if (!CheckBenchmarkingEnabled()) return; request_context_->GetURLRequestContext()-> - http_transaction_factory()->GetCache()->CloseCurrentConnections(); + http_transaction_factory()->GetCache()->CloseAllConnections(); } void RenderMessageFilter::OnSetCacheMode(bool enabled) { -- cgit v1.1