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

Unified Diff: net/socket/client_socket_pool.h

Issue 2678353003: Close idle H2 sockets when SpdySession is initialized. (Closed)
Patch Set: Address comments to hook directly to ClientSocketHandle Created 3 years, 10 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
« no previous file with comments | « net/socket/client_socket_handle.cc ('k') | net/socket/client_socket_pool_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/client_socket_pool.h
diff --git a/net/socket/client_socket_pool.h b/net/socket/client_socket_pool.h
index 94c36391cbcd40da1e71826cfe24b788aca58f96..fb876a84ccd1cdf954dadc06d7a2626ad67f27a8 100644
--- a/net/socket/client_socket_pool.h
+++ b/net/socket/client_socket_pool.h
@@ -163,6 +163,9 @@ class NET_EXPORT ClientSocketPool : public LowerLayeredPool {
// Called to close any idle connections held by the connection manager.
virtual void CloseIdleSockets() = 0;
+ // Called to close any idle connections held by the connection manager.
+ virtual void CloseIdleSocketsInGroup(const std::string& group_name) = 0;
+
// The total number of idle sockets in the pool.
virtual int IdleSocketCount() const = 0;
« no previous file with comments | « net/socket/client_socket_handle.cc ('k') | net/socket/client_socket_pool_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698