Index: net/http/http_network_session.h |
=================================================================== |
--- net/http/http_network_session.h (revision 90330) |
+++ net/http/http_network_session.h (working copy) |
@@ -98,19 +98,13 @@ |
} |
SOCKSClientSocketPool* GetSocketPoolForSOCKSProxy( |
- const HostPortPair& socks_proxy) { |
- return socket_pool_manager_.GetSocketPoolForSOCKSProxy(socks_proxy); |
- } |
+ const HostPortPair& socks_proxy); |
HttpProxyClientSocketPool* GetSocketPoolForHTTPProxy( |
- const HostPortPair& http_proxy) { |
- return socket_pool_manager_.GetSocketPoolForHTTPProxy(http_proxy); |
- } |
+ const HostPortPair& http_proxy); |
SSLClientSocketPool* GetSocketPoolForSSLWithProxy( |
- const HostPortPair& proxy_server) { |
- return socket_pool_manager_.GetSocketPoolForSSLWithProxy(proxy_server); |
- } |
+ const HostPortPair& proxy_server); |
CertVerifier* cert_verifier() { return cert_verifier_; } |
ProxyService* proxy_service() { return proxy_service_; } |
@@ -133,24 +127,15 @@ |
// Creates a Value summary of the state of the socket pools. The caller is |
// responsible for deleting the returned value. |
- Value* SocketPoolInfoToValue() const { |
- return socket_pool_manager_.SocketPoolInfoToValue(); |
- } |
+ Value* SocketPoolInfoToValue() const; |
// Creates a Value summary of the state of the SPDY sessions. The caller is |
// responsible for deleting the returned value. |
Value* SpdySessionPoolInfoToValue() const; |
- void CloseAllConnections() { |
- socket_pool_manager_.FlushSocketPools(); |
- spdy_session_pool_.CloseCurrentSessions(); |
- } |
+ void CloseAllConnections(); |
+ void CloseIdleConnections(); |
- void CloseIdleConnections() { |
- socket_pool_manager_.CloseIdleSockets(); |
- } |
- |
- |
private: |
friend class base::RefCounted<HttpNetworkSession>; |
friend class HttpNetworkSessionPeer; |