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

Side by Side Diff: net/quic/quic_sent_packet_manager.h

Issue 1660593004: Landing Recent QUIC changes until 01/28/2016 18:41 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0202
Patch Set: Created 4 years, 10 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 | « net/quic/quic_protocol.cc ('k') | net/quic/quic_sent_packet_manager.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 5 #ifndef NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 6 #define NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 // Vectors packets acked and lost as a result of the last congestion event. 431 // Vectors packets acked and lost as a result of the last congestion event.
432 SendAlgorithmInterface::CongestionVector packets_acked_; 432 SendAlgorithmInterface::CongestionVector packets_acked_;
433 SendAlgorithmInterface::CongestionVector packets_lost_; 433 SendAlgorithmInterface::CongestionVector packets_lost_;
434 434
435 // Set to true after the crypto handshake has successfully completed. After 435 // Set to true after the crypto handshake has successfully completed. After
436 // this is true we no longer use HANDSHAKE_MODE, and further frames sent on 436 // this is true we no longer use HANDSHAKE_MODE, and further frames sent on
437 // the crypto stream (i.e. SCUP messages) are treated like normal 437 // the crypto stream (i.e. SCUP messages) are treated like normal
438 // retransmittable frames. 438 // retransmittable frames.
439 bool handshake_confirmed_; 439 bool handshake_confirmed_;
440 440
441 // Latched value of FLAGS_gfe2_reloadable_flag_quic_general_loss_algorithm.
442 const bool use_general_loss_algorithm_;
443
444 // Records bandwidth from server to client in normal operation, over periods 441 // Records bandwidth from server to client in normal operation, over periods
445 // of time with no loss events. 442 // of time with no loss events.
446 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_; 443 QuicSustainedBandwidthRecorder sustained_bandwidth_recorder_;
447 444
448 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager); 445 DISALLOW_COPY_AND_ASSIGN(QuicSentPacketManager);
449 }; 446 };
450 447
451 } // namespace net 448 } // namespace net
452 449
453 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_ 450 #endif // NET_QUIC_QUIC_SENT_PACKET_MANAGER_H_
OLDNEW
« no previous file with comments | « net/quic/quic_protocol.cc ('k') | net/quic/quic_sent_packet_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698