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

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

Issue 185053006: Refactor of QUIC's rtt storage and calculation to have a single RttStats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/loss_detection_interface.h
diff --git a/net/quic/congestion_control/loss_detection_interface.h b/net/quic/congestion_control/loss_detection_interface.h
index bb1f86decbe80b946c2ebe142391bd6865a25a09..21cc4f7fbc6478434203416e31bafb5dbf49afa4 100644
--- a/net/quic/congestion_control/loss_detection_interface.h
+++ b/net/quic/congestion_control/loss_detection_interface.h
@@ -14,6 +14,7 @@
namespace net {
class QuicUnackedPacketMap;
+class RttStats;
class NET_EXPORT_PRIVATE LossDetectionInterface {
public:
@@ -27,8 +28,7 @@ class NET_EXPORT_PRIVATE LossDetectionInterface {
const QuicUnackedPacketMap& unacked_packets,
const QuicTime& time,
QuicPacketSequenceNumber largest_observed,
- QuicTime::Delta srtt,
- QuicTime::Delta latest_rtt) = 0;
+ const RttStats& rtt_stats) = 0;
// Get the time the LossDetectionAlgorithm wants to re-evaluate losses.
// Returns QuicTime::Zero if no alarm needs to be set.
« no previous file with comments | « net/quic/congestion_control/inter_arrival_sender_test.cc ('k') | net/quic/congestion_control/pacing_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698