Index: net/socket/client_socket_pool_manager.h |
diff --git a/net/socket/client_socket_pool_manager.h b/net/socket/client_socket_pool_manager.h |
index 7c1f86587c4a8b6aa25d98af9ecafd9ce5dd6c6d..a175e3d81088109964b10d93c3ed0c1df3209c2e 100644 |
--- a/net/socket/client_socket_pool_manager.h |
+++ b/net/socket/client_socket_pool_manager.h |
@@ -13,6 +13,7 @@ |
#include "net/base/completion_callback.h" |
#include "net/base/net_export.h" |
#include "net/base/request_priority.h" |
+#include "net/http/http_network_session.h" |
class GURL; |
@@ -47,14 +48,22 @@ class NET_EXPORT_PRIVATE ClientSocketPoolManager { |
// The setter methods below affect only newly created socket pools after the |
// methods are called. Normally they should be called at program startup |
// before any ClientSocketPoolManagerImpl is created. |
- static int max_sockets_per_pool(); |
- static void set_max_sockets_per_pool(int socket_count); |
- |
- static int max_sockets_per_group(); |
- static void set_max_sockets_per_group(int socket_count); |
- |
- static int max_sockets_per_proxy_server(); |
- static void set_max_sockets_per_proxy_server(int socket_count); |
+ static int max_sockets_per_pool(HttpNetworkSession::SocketPoolType pool_type); |
+ static void set_max_sockets_per_pool( |
+ HttpNetworkSession::SocketPoolType pool_type, |
+ int socket_count); |
+ |
+ static int max_sockets_per_group( |
+ HttpNetworkSession::SocketPoolType pool_type); |
+ static void set_max_sockets_per_group( |
+ HttpNetworkSession::SocketPoolType pool_type, |
+ int socket_count); |
+ |
+ static int max_sockets_per_proxy_server( |
+ HttpNetworkSession::SocketPoolType pool_type); |
+ static void set_max_sockets_per_proxy_server( |
+ HttpNetworkSession::SocketPoolType pool_type, |
+ int socket_count); |
virtual void FlushSocketPools() = 0; |
virtual void CloseIdleSockets() = 0; |