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

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

Issue 2958133002: Change QuicStreamRequest::Request() to take a preferred QuicVersion so that (Closed)
Patch Set: Re #26 Created 3 years, 5 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
« no previous file with comments | « no previous file | net/http/http_server_properties.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 <inttypes.h> 7 #include <inttypes.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 context.channel_id_service, 183 context.channel_id_service,
184 context.transport_security_state, 184 context.transport_security_state,
185 context.cert_transparency_verifier, 185 context.cert_transparency_verifier,
186 context.socket_performance_watcher_factory, 186 context.socket_performance_watcher_factory,
187 context.quic_crypto_client_stream_factory, 187 context.quic_crypto_client_stream_factory,
188 context.quic_random ? context.quic_random : QuicRandom::GetInstance(), 188 context.quic_random ? context.quic_random : QuicRandom::GetInstance(),
189 context.quic_clock ? context.quic_clock 189 context.quic_clock ? context.quic_clock
190 : QuicChromiumClock::GetInstance(), 190 : QuicChromiumClock::GetInstance(),
191 params.quic_max_packet_length, 191 params.quic_max_packet_length,
192 params.quic_user_agent_id, 192 params.quic_user_agent_id,
193 params.quic_supported_versions,
194 params.quic_max_server_configs_stored_in_properties > 0, 193 params.quic_max_server_configs_stored_in_properties > 0,
195 params.quic_close_sessions_on_ip_change, 194 params.quic_close_sessions_on_ip_change,
196 params.mark_quic_broken_when_network_blackholes, 195 params.mark_quic_broken_when_network_blackholes,
197 params.quic_idle_connection_timeout_seconds, 196 params.quic_idle_connection_timeout_seconds,
198 params.quic_reduced_ping_timeout_seconds, 197 params.quic_reduced_ping_timeout_seconds,
199 params.quic_packet_reader_yield_after_duration_milliseconds, 198 params.quic_packet_reader_yield_after_duration_milliseconds,
200 params.quic_migrate_sessions_on_network_change, 199 params.quic_migrate_sessions_on_network_change,
201 params.quic_migrate_sessions_early, 200 params.quic_migrate_sessions_early,
202 params.quic_allow_server_migration, 201 params.quic_allow_server_migration,
203 params.quic_force_hol_blocking, 202 params.quic_force_hol_blocking,
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 CloseIdleConnections(); 481 CloseIdleConnections();
483 break; 482 break;
484 } 483 }
485 } 484 }
486 485
487 void HttpNetworkSession::OnPurgeMemory() { 486 void HttpNetworkSession::OnPurgeMemory() {
488 CloseIdleConnections(); 487 CloseIdleConnections();
489 } 488 }
490 489
491 } // namespace net 490 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/http/http_server_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698