Index: net/socket/client_socket_pool_manager.cc |
diff --git a/net/socket/client_socket_pool_manager.cc b/net/socket/client_socket_pool_manager.cc |
index 76b8715e566388760fcb0d89f79218985926a72e..01be03930ad1262c0ec8c10dc1dd7949e8b52b18 100644 |
--- a/net/socket/client_socket_pool_manager.cc |
+++ b/net/socket/client_socket_pool_manager.cc |
@@ -548,6 +548,11 @@ SSLClientSocketPool* ClientSocketPoolManager::GetSocketPoolForSSLWithProxy( |
} |
// static |
+int ClientSocketPoolManager::max_sockets_per_pool() { |
+ return g_max_sockets_per_pool; |
+} |
+ |
+// static |
void ClientSocketPoolManager::set_max_sockets_per_pool(int socket_count) { |
DCHECK_LT(0, socket_count); |
DCHECK_GT(1000, socket_count); // Sanity check. |
@@ -572,6 +577,11 @@ void ClientSocketPoolManager::set_max_sockets_per_group(int socket_count) { |
} |
// static |
+int ClientSocketPoolManager::max_sockets_per_proxy_server() { |
+ return g_max_sockets_per_proxy_server; |
+} |
+ |
+// static |
void ClientSocketPoolManager::set_max_sockets_per_proxy_server( |
int socket_count) { |
DCHECK_LT(0, socket_count); |