summaryrefslogtreecommitdiffstats
path: root/net/quic/congestion_control/loss_detection_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/congestion_control/loss_detection_interface.h')
-rw-r--r--net/quic/congestion_control/loss_detection_interface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/quic/congestion_control/loss_detection_interface.h b/net/quic/congestion_control/loss_detection_interface.h
index 21cc4f7..5aaa51d 100644
--- a/net/quic/congestion_control/loss_detection_interface.h
+++ b/net/quic/congestion_control/loss_detection_interface.h
@@ -19,10 +19,12 @@ class RttStats;
class NET_EXPORT_PRIVATE LossDetectionInterface {
public:
// Creates a TCP loss detector.
- static LossDetectionInterface* Create();
+ static LossDetectionInterface* Create(LossDetectionType loss_type);
virtual ~LossDetectionInterface() {}
+ virtual LossDetectionType GetLossDetectionType() const = 0;
+
// Called when a new ack arrives or the loss alarm fires.
virtual SequenceNumberSet DetectLostPackets(
const QuicUnackedPacketMap& unacked_packets,