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

Unified Diff: net/spdy/spdy_session_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/spdy/spdy_session_pool.h
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h
index 661501f1aba6d1a8e11fd56e08166590a7c91470..1205093afe7ea7a50ba05730e098b90612778a47 100644
--- a/net/spdy/spdy_session_pool.h
+++ b/net/spdy/spdy_session_pool.h
@@ -40,6 +40,7 @@ namespace net {
class ClientSocketHandle;
class HostResolver;
class HttpServerProperties;
+class HttpNetworkSession;
class NetLogWithSource;
class ProxyDelegate;
class SpdySession;
@@ -57,6 +58,7 @@ class NET_EXPORT SpdySessionPool
SSLConfigService* ssl_config_service,
HttpServerProperties* http_server_properties,
TransportSecurityState* transport_security_state,
+ HttpNetworkSession* http_network_session,
bool enable_ping_based_connection_checking,
size_t session_max_recv_window_size,
const SettingsMap& initial_settings,
@@ -204,6 +206,8 @@ class NET_EXPORT SpdySessionPool
TransportSecurityState* transport_security_state_;
+ HttpNetworkSession* http_network_session_;
+
// The set of all sessions. This is a superset of the sessions in
// |available_sessions_|.
//

Powered by Google App Engine
This is Rietveld 408576698