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

Side by Side Diff: net/http/http_network_session_peer.cc

Issue 9764003: Increase number of max sockets per group for WebSocket connections. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync. 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_network_transaction_spdy21_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/http/http_network_session_peer.h" 5 #include "net/http/http_network_session_peer.h"
6 6
7 #include "net/http/http_network_session.h" 7 #include "net/http/http_network_session.h"
8 #include "net/http/http_proxy_client_socket_pool.h" 8 #include "net/http/http_proxy_client_socket_pool.h"
9 #include "net/proxy/proxy_service.h" 9 #include "net/proxy/proxy_service.h"
10 #include "net/socket/client_socket_pool_manager.h"
10 #include "net/socket/socks_client_socket_pool.h" 11 #include "net/socket/socks_client_socket_pool.h"
11 #include "net/socket/ssl_client_socket_pool.h" 12 #include "net/socket/ssl_client_socket_pool.h"
12 #include "net/socket/transport_client_socket_pool.h" 13 #include "net/socket/transport_client_socket_pool.h"
13 14
14 namespace net { 15 namespace net {
15 16
16 HttpNetworkSessionPeer::HttpNetworkSessionPeer( 17 HttpNetworkSessionPeer::HttpNetworkSessionPeer(
17 const scoped_refptr<HttpNetworkSession>& session) 18 const scoped_refptr<HttpNetworkSession>& session)
18 : session_(session) {} 19 : session_(session) {}
19 20
20 HttpNetworkSessionPeer::~HttpNetworkSessionPeer() {} 21 HttpNetworkSessionPeer::~HttpNetworkSessionPeer() {}
21 22
22 void HttpNetworkSessionPeer::SetClientSocketPoolManager( 23 void HttpNetworkSessionPeer::SetClientSocketPoolManager(
23 ClientSocketPoolManager* socket_pool_manager) { 24 ClientSocketPoolManager* socket_pool_manager) {
24 session_->normal_socket_pool_manager_.reset(socket_pool_manager); 25 session_->normal_socket_pool_manager_.reset(socket_pool_manager);
25 } 26 }
26 27
27 void HttpNetworkSessionPeer::SetProxyService(ProxyService* proxy_service) { 28 void HttpNetworkSessionPeer::SetProxyService(ProxyService* proxy_service) {
28 session_->proxy_service_ = proxy_service; 29 session_->proxy_service_ = proxy_service;
29 } 30 }
30 31
31 void HttpNetworkSessionPeer::SetHttpStreamFactory( 32 void HttpNetworkSessionPeer::SetHttpStreamFactory(
32 HttpStreamFactory* http_stream_factory) { 33 HttpStreamFactory* http_stream_factory) {
33 session_->http_stream_factory_.reset(http_stream_factory); 34 session_->http_stream_factory_.reset(http_stream_factory);
34 } 35 }
35 36
36 } // namespace net 37 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_network_transaction_spdy21_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698