diff options
Diffstat (limited to 'net/quic/congestion_control/tcp_cubic_sender.h')
-rw-r--r-- | net/quic/congestion_control/tcp_cubic_sender.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/net/quic/congestion_control/tcp_cubic_sender.h b/net/quic/congestion_control/tcp_cubic_sender.h index 723ab07..9969d40 100644 --- a/net/quic/congestion_control/tcp_cubic_sender.h +++ b/net/quic/congestion_control/tcp_cubic_sender.h @@ -56,7 +56,7 @@ class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface { QuicByteCount bytes, HasRetransmittableData is_retransmittable) override; void OnRetransmissionTimeout(bool packets_retransmitted) override; - void OnConnectionMigration() override {} + void OnConnectionMigration() override; QuicTime::Delta TimeUntilSend( QuicTime now, QuicByteCount bytes_in_flight, @@ -131,6 +131,14 @@ class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface { // Maximum number of outstanding packets for tcp. QuicPacketCount max_tcp_congestion_window_; + // Initial TCP congestion window. This variable can only be set when this + // algorithm is created. + const QuicPacketCount initial_tcp_congestion_window_; + + // Initial maximum TCP congestion window. This variable can only be set when + // this algorithm is created. + const QuicPacketCount initial_max_tcp_congestion_window_; + DISALLOW_COPY_AND_ASSIGN(TcpCubicSender); }; |