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

Unified Diff: net/http/http_network_session.h

Issue 8526006: Close idle sockets next time we are about to send data. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: code conventions Created 9 years, 1 month 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/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index c65b48083dd9ff14a1569f3b3bd2dd449c3de3d8..e7f4891a7c0bab5d5a1b1db7be925416f370ec32 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -60,7 +60,8 @@ class NET_EXPORT HttpNetworkSession
http_auth_handler_factory(NULL),
network_delegate(NULL),
http_server_properties(NULL),
- net_log(NULL) {}
+ net_log(NULL),
+ use_cleanup_timer(true) {}
ClientSocketFactory* client_socket_factory;
HostResolver* host_resolver;
@@ -75,6 +76,8 @@ class NET_EXPORT HttpNetworkSession
NetworkDelegate* network_delegate;
HttpServerProperties* http_server_properties;
NetLog* net_log;
+ bool use_cleanup_timer;
+
willchan no longer on Chromium 2011/11/15 20:35:29 This newline is spurious
};
explicit HttpNetworkSession(const Params& params);

Powered by Google App Engine
This is Rietveld 408576698