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

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

Issue 2955673002: Filter QUIC alternative service if the versions advertised by the server (Closed)
Patch Set: address comments #7 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/spdy/chromium/spdy_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 <inttypes.h> 7 #include <inttypes.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 params.quic_force_hol_blocking, 203 params.quic_force_hol_blocking,
204 params.quic_race_cert_verification, 204 params.quic_race_cert_verification,
205 params.quic_do_not_fragment, 205 params.quic_do_not_fragment,
206 params.quic_estimate_initial_rtt, 206 params.quic_estimate_initial_rtt,
207 params.quic_connection_options, 207 params.quic_connection_options,
208 params.enable_token_binding), 208 params.enable_token_binding),
209 spdy_session_pool_(context.host_resolver, 209 spdy_session_pool_(context.host_resolver,
210 context.ssl_config_service, 210 context.ssl_config_service,
211 context.http_server_properties, 211 context.http_server_properties,
212 context.transport_security_state, 212 context.transport_security_state,
213 params.quic_supported_versions,
213 params.enable_spdy_ping_based_connection_checking, 214 params.enable_spdy_ping_based_connection_checking,
214 params.spdy_session_max_recv_window_size, 215 params.spdy_session_max_recv_window_size,
215 AddDefaultHttp2Settings(params.http2_settings), 216 AddDefaultHttp2Settings(params.http2_settings),
216 params.time_func, 217 params.time_func,
217 context.proxy_delegate), 218 context.proxy_delegate),
218 http_stream_factory_(new HttpStreamFactoryImpl(this, false)), 219 http_stream_factory_(new HttpStreamFactoryImpl(this, false)),
219 http_stream_factory_for_websocket_(new HttpStreamFactoryImpl(this, true)), 220 http_stream_factory_for_websocket_(new HttpStreamFactoryImpl(this, true)),
220 network_stream_throttler_(new NetworkThrottleManagerImpl()), 221 network_stream_throttler_(new NetworkThrottleManagerImpl()),
221 params_(params), 222 params_(params),
222 context_(context) { 223 context_(context) {
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 CloseIdleConnections(); 482 CloseIdleConnections();
482 break; 483 break;
483 } 484 }
484 } 485 }
485 486
486 void HttpNetworkSession::OnPurgeMemory() { 487 void HttpNetworkSession::OnPurgeMemory() {
487 CloseIdleConnections(); 488 CloseIdleConnections();
488 } 489 }
489 490
490 } // namespace net 491 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/spdy/chromium/spdy_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698