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

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

Issue 309623003: Enable QUIC version 18. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | 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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 enable_quic_https(false), 85 enable_quic_https(false),
86 enable_quic_port_selection(true), 86 enable_quic_port_selection(true),
87 enable_quic_pacing(false), 87 enable_quic_pacing(false),
88 enable_quic_time_based_loss_detection(false), 88 enable_quic_time_based_loss_detection(false),
89 enable_quic_persist_server_info(false), 89 enable_quic_persist_server_info(false),
90 quic_clock(NULL), 90 quic_clock(NULL),
91 quic_random(NULL), 91 quic_random(NULL),
92 quic_max_packet_length(kDefaultMaxPacketSize), 92 quic_max_packet_length(kDefaultMaxPacketSize),
93 enable_user_alternate_protocol_ports(false), 93 enable_user_alternate_protocol_ports(false),
94 quic_crypto_client_stream_factory(NULL) { 94 quic_crypto_client_stream_factory(NULL) {
95 quic_supported_versions.push_back(QUIC_VERSION_17); 95 quic_supported_versions.push_back(QUIC_VERSION_18);
96 } 96 }
97 97
98 HttpNetworkSession::Params::~Params() {} 98 HttpNetworkSession::Params::~Params() {}
99 99
100 // TODO(mbelshe): Move the socket factories into HttpStreamFactory. 100 // TODO(mbelshe): Move the socket factories into HttpStreamFactory.
101 HttpNetworkSession::HttpNetworkSession(const Params& params) 101 HttpNetworkSession::HttpNetworkSession(const Params& params)
102 : net_log_(params.net_log), 102 : net_log_(params.net_log),
103 network_delegate_(params.network_delegate), 103 network_delegate_(params.network_delegate),
104 http_server_properties_(params.http_server_properties), 104 http_server_properties_(params.http_server_properties),
105 cert_verifier_(params.cert_verifier), 105 cert_verifier_(params.cert_verifier),
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 case WEBSOCKET_SOCKET_POOL: 296 case WEBSOCKET_SOCKET_POOL:
297 return websocket_socket_pool_manager_.get(); 297 return websocket_socket_pool_manager_.get();
298 default: 298 default:
299 NOTREACHED(); 299 NOTREACHED();
300 break; 300 break;
301 } 301 }
302 return NULL; 302 return NULL;
303 } 303 }
304 304
305 } // namespace net 305 } // 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