diff options
Diffstat (limited to 'net/http/http_network_session.h')
-rw-r--r-- | net/http/http_network_session.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h index b5786de..11e42f4 100644 --- a/net/http/http_network_session.h +++ b/net/http/http_network_session.h @@ -25,7 +25,6 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { ClientSocketFactory* client_socket_factory, SSLConfigService* ssl_config_service, FlipSessionPool* flip_session_pool); - ~HttpNetworkSession(); HttpAuthCache* auth_cache() { return &auth_cache_; } SSLClientAuthCache* ssl_client_auth_cache() { @@ -44,8 +43,11 @@ class HttpNetworkSession : public base::RefCounted<HttpNetworkSession> { static void set_max_sockets_per_group(int socket_count); private: + friend class base::RefCounted<HttpNetworkSession>; FRIEND_TEST(HttpNetworkTransactionTest, GroupNameForProxyConnections); + ~HttpNetworkSession(); + // Total limit of sockets. Not a constant to allow experiments. static int max_sockets_; |