| Index: net/quic/core/congestion_control/tcp_cubic_sender_base.cc
|
| diff --git a/net/quic/core/congestion_control/tcp_cubic_sender_base.cc b/net/quic/core/congestion_control/tcp_cubic_sender_base.cc
|
| index 069bb161c86f3380049a8a382c6709072f61f98c..c8d89309490d1b55072b87854b3abc9550369bb7 100644
|
| --- a/net/quic/core/congestion_control/tcp_cubic_sender_base.cc
|
| +++ b/net/quic/core/congestion_control/tcp_cubic_sender_base.cc
|
| @@ -123,7 +123,7 @@ float TcpCubicSenderBase::RenoBeta() const {
|
| void TcpCubicSenderBase::OnCongestionEvent(
|
| bool rtt_updated,
|
| QuicByteCount prior_in_flight,
|
| - QuicTime /*event_time*/,
|
| + QuicTime event_time,
|
| const CongestionVector& acked_packets,
|
| const CongestionVector& lost_packets) {
|
| if (rtt_updated && InSlowStart() &&
|
| @@ -138,13 +138,14 @@ void TcpCubicSenderBase::OnCongestionEvent(
|
| }
|
| for (CongestionVector::const_iterator it = acked_packets.begin();
|
| it != acked_packets.end(); ++it) {
|
| - OnPacketAcked(it->first, it->second, prior_in_flight);
|
| + OnPacketAcked(it->first, it->second, prior_in_flight, event_time);
|
| }
|
| }
|
|
|
| void TcpCubicSenderBase::OnPacketAcked(QuicPacketNumber acked_packet_number,
|
| QuicByteCount acked_bytes,
|
| - QuicByteCount prior_in_flight) {
|
| + QuicByteCount prior_in_flight,
|
| + QuicTime event_time) {
|
| largest_acked_packet_number_ =
|
| std::max(acked_packet_number, largest_acked_packet_number_);
|
| if (InRecovery()) {
|
| @@ -154,7 +155,8 @@ void TcpCubicSenderBase::OnPacketAcked(QuicPacketNumber acked_packet_number,
|
| }
|
| return;
|
| }
|
| - MaybeIncreaseCwnd(acked_packet_number, acked_bytes, prior_in_flight);
|
| + MaybeIncreaseCwnd(acked_packet_number, acked_bytes, prior_in_flight,
|
| + event_time);
|
| if (InSlowStart()) {
|
| hybrid_slow_start_.OnPacketAcked(acked_packet_number);
|
| }
|
|
|