| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |