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

Unified Diff: net/quic/congestion_control/tcp_cubic_sender.h

Issue 963293002: Remove RevertRetransmissionTimeout from QUIC's SendAlgorithmInterface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Remove_stats_recording_reno_86629919
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
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 a919d027b1e13b799e007e62f8a8b283627583c2..e22894a04b9f7a676d6099cafa84e5a862db85f4 100644
--- a/net/quic/congestion_control/tcp_cubic_sender.h
+++ b/net/quic/congestion_control/tcp_cubic_sender.h
@@ -57,7 +57,6 @@ class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface {
QuicByteCount bytes,
HasRetransmittableData is_retransmittable) override;
void OnRetransmissionTimeout(bool packets_retransmitted) override;
- void RevertRetransmissionTimeout() override;
QuicTime::Delta TimeUntilSend(
QuicTime now,
QuicByteCount bytes_in_flight,
@@ -117,16 +116,9 @@ class NET_EXPORT_PRIVATE TcpCubicSender : public SendAlgorithmInterface {
// Congestion window in packets.
QuicPacketCount congestion_window_;
- // Congestion window before the last RTO.
- // Must be 0 before or after RTO recovery.
- QuicPacketCount previous_congestion_window_;
-
// Slow start congestion window in packets, aka ssthresh.
QuicPacketCount slowstart_threshold_;
- // Slow start threshold before the last loss event or RTO.
- QuicPacketCount previous_slowstart_threshold_;
-
// Whether the last loss event caused us to exit slowstart.
// Used for stats collection of slowstart_packets_lost
bool last_cutback_exited_slowstart_;
« no previous file with comments | « net/quic/congestion_control/send_algorithm_interface.h ('k') | net/quic/congestion_control/tcp_cubic_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698