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

Unified Diff: net/quic/core/congestion_control/tcp_cubic_sender_base.h

Issue 2571643002: relnote: Use event_time instead of ApproximateNow() in QUIC cubic code. Protected by --quic_use_eve… (Closed)
Patch Set: Created 4 years 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/core/congestion_control/tcp_cubic_sender_base.h
diff --git a/net/quic/core/congestion_control/tcp_cubic_sender_base.h b/net/quic/core/congestion_control/tcp_cubic_sender_base.h
index f04eb74630818741646e2c20f8d88d48785598c7..a4ac1e57128b796c2eb154849466a9e6ecba28e6 100644
--- a/net/quic/core/congestion_control/tcp_cubic_sender_base.h
+++ b/net/quic/core/congestion_control/tcp_cubic_sender_base.h
@@ -95,7 +95,8 @@ class QUIC_EXPORT_PRIVATE TcpCubicSenderBase : public SendAlgorithmInterface {
// window.
virtual void MaybeIncreaseCwnd(QuicPacketNumber acked_packet_number,
QuicByteCount acked_bytes,
- QuicByteCount prior_in_flight) = 0;
+ QuicByteCount prior_in_flight,
+ QuicTime event_time) = 0;
// Called when a retransmission has occured which resulted in packets
// being retransmitted.
@@ -112,7 +113,8 @@ class QUIC_EXPORT_PRIVATE TcpCubicSenderBase : public SendAlgorithmInterface {
// TODO(ianswett): Remove these and migrate to OnCongestionEvent.
void OnPacketAcked(QuicPacketNumber acked_packet_number,
QuicByteCount acked_bytes,
- QuicByteCount prior_in_flight);
+ QuicByteCount prior_in_flight,
+ QuicTime event_time);
protected:
// TODO(rch): Make these private and clean up subclass access to them.
« no previous file with comments | « net/quic/core/congestion_control/cubic_test.cc ('k') | net/quic/core/congestion_control/tcp_cubic_sender_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698