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

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

Issue 554453002: Switch from QUIC v21 to v19. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | no next file » | 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 alternate_protocol_probability_threshold(1), 88 alternate_protocol_probability_threshold(1),
89 enable_websocket_over_spdy(false), 89 enable_websocket_over_spdy(false),
90 enable_quic(false), 90 enable_quic(false),
91 enable_quic_port_selection(true), 91 enable_quic_port_selection(true),
92 enable_quic_time_based_loss_detection(false), 92 enable_quic_time_based_loss_detection(false),
93 quic_clock(NULL), 93 quic_clock(NULL),
94 quic_random(NULL), 94 quic_random(NULL),
95 quic_max_packet_length(kDefaultMaxPacketSize), 95 quic_max_packet_length(kDefaultMaxPacketSize),
96 enable_user_alternate_protocol_ports(false), 96 enable_user_alternate_protocol_ports(false),
97 quic_crypto_client_stream_factory(NULL) { 97 quic_crypto_client_stream_factory(NULL) {
98 quic_supported_versions.push_back(QUIC_VERSION_21); 98 quic_supported_versions.push_back(QUIC_VERSION_19);
99 } 99 }
100 100
101 HttpNetworkSession::Params::~Params() {} 101 HttpNetworkSession::Params::~Params() {}
102 102
103 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. 103 // TODO(mbelshe): Move the socket factories into HttpStreamFactory.
104 HttpNetworkSession::HttpNetworkSession(const Params& params) 104 HttpNetworkSession::HttpNetworkSession(const Params& params)
105 : net_log_(params.net_log), 105 : net_log_(params.net_log),
106 network_delegate_(params.network_delegate), 106 network_delegate_(params.network_delegate),
107 http_server_properties_(params.http_server_properties), 107 http_server_properties_(params.http_server_properties),
108 cert_verifier_(params.cert_verifier), 108 cert_verifier_(params.cert_verifier),
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 case WEBSOCKET_SOCKET_POOL: 308 case WEBSOCKET_SOCKET_POOL:
309 return websocket_socket_pool_manager_.get(); 309 return websocket_socket_pool_manager_.get();
310 default: 310 default:
311 NOTREACHED(); 311 NOTREACHED();
312 break; 312 break;
313 } 313 }
314 return NULL; 314 return NULL;
315 } 315 }
316 316
317 } // namespace net 317 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698