Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Unified Diff: net/socket/client_socket_pool_manager.h

Issue 8340012: Close idle connections / SPDY sessions when needed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: OVERRIDE Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 48295500c934a2fc8536610cace1c445f70d5501..61a9e8186792a260ba9504a6bbe86d79f017fbca 100644
--- a/net/socket/client_socket_pool_manager.h
+++ b/net/socket/client_socket_pool_manager.h
@@ -113,9 +113,11 @@ class ClientSocketPoolManager : public base::NonThreadSafe,
// 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 ClientSocketPoolManager is created.
+ static int max_sockets_per_pool();
NET_EXPORT static void set_max_sockets_per_pool(int socket_count);
NET_EXPORT static int max_sockets_per_group();
NET_EXPORT static void set_max_sockets_per_group(int socket_count);
+ static int max_sockets_per_proxy_server();
NET_EXPORT static void set_max_sockets_per_proxy_server(int socket_count);
// A helper method that uses the passed in proxy information to initialize a

Powered by Google App Engine
This is Rietveld 408576698