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

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

Issue 483043002: Revert 289433 "Refactor pooling logic into a helper method" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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 | trunk/src/net/quic/quic_client_session.h » ('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 new QuicClock(), 128 new QuicClock(),
129 params.quic_max_packet_length, 129 params.quic_max_packet_length,
130 params.quic_user_agent_id, 130 params.quic_user_agent_id,
131 params.quic_supported_versions, 131 params.quic_supported_versions,
132 params.enable_quic_port_selection, 132 params.enable_quic_port_selection,
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,
139 params.force_spdy_single_domain, 138 params.force_spdy_single_domain,
140 params.enable_spdy_compression, 139 params.enable_spdy_compression,
141 params.enable_spdy_ping_based_connection_checking, 140 params.enable_spdy_ping_based_connection_checking,
142 params.spdy_default_protocol, 141 params.spdy_default_protocol,
143 params.spdy_stream_initial_recv_window_size, 142 params.spdy_stream_initial_recv_window_size,
144 params.spdy_initial_max_concurrent_streams, 143 params.spdy_initial_max_concurrent_streams,
145 params.spdy_max_concurrent_streams_limit, 144 params.spdy_max_concurrent_streams_limit,
146 params.time_func, 145 params.time_func,
147 params.trusted_spdy_proxy), 146 params.trusted_spdy_proxy),
148 http_stream_factory_(new HttpStreamFactoryImpl(this, false)), 147 http_stream_factory_(new HttpStreamFactoryImpl(this, false)),
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 case WEBSOCKET_SOCKET_POOL: 307 case WEBSOCKET_SOCKET_POOL:
309 return websocket_socket_pool_manager_.get(); 308 return websocket_socket_pool_manager_.get();
310 default: 309 default:
311 NOTREACHED(); 310 NOTREACHED();
312 break; 311 break;
313 } 312 }
314 return NULL; 313 return NULL;
315 } 314 }
316 315
317 } // namespace net 316 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | trunk/src/net/quic/quic_client_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698