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

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

Issue 425803014: Refactor pooling logic into a helper method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test Created 6 years, 4 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 | « no previous file | net/http/http_response_body_drainer_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.h" 5 #include "net/http/http_network_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/debug/stack_trace.h" 10 #include "base/debug/stack_trace.h"
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 params.quic_max_packet_length, 128 params.quic_max_packet_length,
129 params.quic_user_agent_id, 129 params.quic_user_agent_id,
130 params.quic_supported_versions, 130 params.quic_supported_versions,
131 params.enable_quic_port_selection, 131 params.enable_quic_port_selection,
132 params.enable_quic_pacing, 132 params.enable_quic_pacing,
133 params.enable_quic_time_based_loss_detection, 133 params.enable_quic_time_based_loss_detection,
134 params.quic_connection_options), 134 params.quic_connection_options),
135 spdy_session_pool_(params.host_resolver, 135 spdy_session_pool_(params.host_resolver,
136 params.ssl_config_service, 136 params.ssl_config_service,
137 params.http_server_properties, 137 params.http_server_properties,
138 params.transport_security_state,
138 params.force_spdy_single_domain, 139 params.force_spdy_single_domain,
139 params.enable_spdy_compression, 140 params.enable_spdy_compression,
140 params.enable_spdy_ping_based_connection_checking, 141 params.enable_spdy_ping_based_connection_checking,
141 params.spdy_default_protocol, 142 params.spdy_default_protocol,
142 params.spdy_stream_initial_recv_window_size, 143 params.spdy_stream_initial_recv_window_size,
143 params.spdy_initial_max_concurrent_streams, 144 params.spdy_initial_max_concurrent_streams,
144 params.spdy_max_concurrent_streams_limit, 145 params.spdy_max_concurrent_streams_limit,
145 params.time_func, 146 params.time_func,
146 params.trusted_spdy_proxy), 147 params.trusted_spdy_proxy),
147 http_stream_factory_(new HttpStreamFactoryImpl(this, false)), 148 http_stream_factory_(new HttpStreamFactoryImpl(this, false)),
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 case WEBSOCKET_SOCKET_POOL: 303 case WEBSOCKET_SOCKET_POOL:
303 return websocket_socket_pool_manager_.get(); 304 return websocket_socket_pool_manager_.get();
304 default: 305 default:
305 NOTREACHED(); 306 NOTREACHED();
306 break; 307 break;
307 } 308 }
308 return NULL; 309 return NULL;
309 } 310 }
310 311
311 } // namespace net 312 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/http/http_response_body_drainer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698