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

Unified Diff: net/http/http_network_session.h

Issue 9764003: Increase number of max sockets per group for WebSocket connections. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « chrome/browser/chrome_browser_main.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index 9d8c2ec4422f0a6ea05b1103e3673eda498a13ed..9eb1012621946c760ec19467f2f3eee339fa4468 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -15,7 +15,6 @@
#include "net/base/ssl_client_auth_cache.h"
#include "net/http/http_auth_cache.h"
#include "net/http/http_stream_factory.h"
-#include "net/socket/client_socket_pool_manager.h"
Yuta Kitamura 2012/03/20 19:24:35 This line had to be removed to avoid cyclic #inclu
#include "net/spdy/spdy_session_pool.h"
#include "net/spdy/spdy_settings_storage.h"
@@ -27,6 +26,7 @@ namespace net {
class CertVerifier;
class ClientSocketFactory;
+class ClientSocketPoolManager;
class HostResolver;
class HttpAuthHandlerFactory;
class HttpNetworkSessionPeer;
@@ -86,6 +86,8 @@ class NET_EXPORT HttpNetworkSession
WEBSOCKET_SOCKET_POOL
};
+ static const int kNumSocketPoolTypes = 2;
willchan no longer on Chromium 2012/03/20 22:33:30 Why don't you do NORMAL_SOCKET_POOL = 0, WEBSOCKET
Yuta Kitamura 2012/03/21 00:47:02 Done.
+
explicit HttpNetworkSession(const Params& params);
HttpAuthCache* http_auth_cache() { return &http_auth_cache_; }
« no previous file with comments | « chrome/browser/chrome_browser_main.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698