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

Unified Diff: net/socket/client_socket_pool.h

Issue 2678353003: Close idle H2 sockets when SpdySession is initialized. (Closed)
Patch Set: Self 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
Index: net/socket/client_socket_pool.h
diff --git a/net/socket/client_socket_pool.h b/net/socket/client_socket_pool.h
index 15dbe5f02d6e09d6e503c6dccb4eab0a268e4949..7eec0668b451b4cb8cbd0ad0339393228dd05b39 100644
--- a/net/socket/client_socket_pool.h
+++ b/net/socket/client_socket_pool.h
@@ -153,6 +153,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;

Powered by Google App Engine
This is Rietveld 408576698