Index: net/quic/congestion_control/tcp_cubic_sender.h |
diff --git a/net/quic/congestion_control/tcp_cubic_sender.h b/net/quic/congestion_control/tcp_cubic_sender.h |
index e22894a04b9f7a676d6099cafa84e5a862db85f4..4659a4b477b7de184728e6318e813e20d193aee6 100644 |
--- a/net/quic/congestion_control/tcp_cubic_sender.h |
+++ b/net/quic/congestion_control/tcp_cubic_sender.h |
@@ -31,12 +31,10 @@ class TcpCubicSenderPeer; |
class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface { |
public: |
- // Reno option and max_tcp_congestion_window are provided for testing. |
TcpCubicSender(const QuicClock* clock, |
const RttStats* rtt_stats, |
bool reno, |
QuicPacketCount initial_tcp_congestion_window, |
- QuicPacketCount max_tcp_congestion_window, |
QuicConnectionStats* stats); |
~TcpCubicSender() override; |
@@ -102,7 +100,7 @@ class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface { |
uint32 num_connections_; |
// ACK counter for the Reno implementation. |
- uint64 congestion_window_count_; |
+ uint64 num_acked_packets_; |
// Track the largest packet that has been sent. |
QuicPacketSequenceNumber largest_sent_sequence_number_; |
@@ -123,9 +121,6 @@ class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface { |
// Used for stats collection of slowstart_packets_lost |
bool last_cutback_exited_slowstart_; |
- // Maximum number of outstanding packets for tcp. |
- QuicPacketCount max_tcp_congestion_window_; |
- |
const QuicClock* clock_; |
DISALLOW_COPY_AND_ASSIGN(TcpCubicSender); |