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

Side by Side Diff: net/quic/quic_config.cc

Issue 413403008: Remove QUIC_VERSION_15 now that Chrome Stable supports QUIC_VERSION_16. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0723
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
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/quic/quic_config.h" 5 #include "net/quic/quic_config.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "net/quic/crypto/crypto_handshake_message.h" 10 #include "net/quic/crypto/crypto_handshake_message.h"
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 QuicConfig::QuicConfig() 428 QuicConfig::QuicConfig()
429 : congestion_feedback_(kCGST, PRESENCE_REQUIRED), 429 : congestion_feedback_(kCGST, PRESENCE_REQUIRED),
430 connection_options_(kCOPT, PRESENCE_OPTIONAL), 430 connection_options_(kCOPT, PRESENCE_OPTIONAL),
431 loss_detection_(kLOSS, PRESENCE_OPTIONAL), 431 loss_detection_(kLOSS, PRESENCE_OPTIONAL),
432 idle_connection_state_lifetime_seconds_(kICSL, PRESENCE_REQUIRED), 432 idle_connection_state_lifetime_seconds_(kICSL, PRESENCE_REQUIRED),
433 keepalive_timeout_seconds_(kKATO, PRESENCE_OPTIONAL), 433 keepalive_timeout_seconds_(kKATO, PRESENCE_OPTIONAL),
434 max_streams_per_connection_(kMSPC, PRESENCE_REQUIRED), 434 max_streams_per_connection_(kMSPC, PRESENCE_REQUIRED),
435 max_time_before_crypto_handshake_(QuicTime::Delta::Zero()), 435 max_time_before_crypto_handshake_(QuicTime::Delta::Zero()),
436 initial_congestion_window_(kSWND, PRESENCE_OPTIONAL), 436 initial_congestion_window_(kSWND, PRESENCE_OPTIONAL),
437 initial_round_trip_time_us_(kIRTT, PRESENCE_OPTIONAL), 437 initial_round_trip_time_us_(kIRTT, PRESENCE_OPTIONAL),
438 // TODO(rjshade): Make this PRESENCE_REQUIRED when QUIC_VERSION_16 and 438 // TODO(rjshade): Make this PRESENCE_REQUIRED when QUIC_VERSION_16 is
439 // QUIC_VERSION_15 are retired. 439 // retired.
440 initial_flow_control_window_bytes_(kIFCW, PRESENCE_OPTIONAL), 440 initial_flow_control_window_bytes_(kIFCW, PRESENCE_OPTIONAL),
441 // TODO(rjshade): Make this PRESENCE_REQUIRED when retiring 441 // TODO(rjshade): Make this PRESENCE_REQUIRED when retiring
442 // QUIC_VERSION_19. 442 // QUIC_VERSION_19.
443 initial_stream_flow_control_window_bytes_(kSFCW, PRESENCE_OPTIONAL), 443 initial_stream_flow_control_window_bytes_(kSFCW, PRESENCE_OPTIONAL),
444 // TODO(rjshade): Make this PRESENCE_REQUIRED when retiring 444 // TODO(rjshade): Make this PRESENCE_REQUIRED when retiring
445 // QUIC_VERSION_19. 445 // QUIC_VERSION_19.
446 initial_session_flow_control_window_bytes_(kCFCW, PRESENCE_OPTIONAL) { 446 initial_session_flow_control_window_bytes_(kCFCW, PRESENCE_OPTIONAL) {
447 } 447 }
448 448
449 QuicConfig::~QuicConfig() {} 449 QuicConfig::~QuicConfig() {}
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 peer_hello, hello_type, error_details); 719 peer_hello, hello_type, error_details);
720 } 720 }
721 if (error == QUIC_NO_ERROR) { 721 if (error == QUIC_NO_ERROR) {
722 error = connection_options_.ProcessPeerHello( 722 error = connection_options_.ProcessPeerHello(
723 peer_hello, hello_type, error_details); 723 peer_hello, hello_type, error_details);
724 } 724 }
725 return error; 725 return error;
726 } 726 }
727 727
728 } // namespace net 728 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698