| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // The pure virtual class for send side loss detection algorithm. | 5 // The pure virtual class for send side loss detection algorithm. |
| 6 | 6 |
| 7 #ifndef NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_ | 7 #ifndef NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_ |
| 8 #define NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_ | 8 #define NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_ |
| 9 | 9 |
| 10 #include "net/quic/congestion_control/send_algorithm_interface.h" | 10 #include "net/quic/core/congestion_control/send_algorithm_interface.h" |
| 11 #include "net/quic/quic_protocol.h" | 11 #include "net/quic/core/quic_protocol.h" |
| 12 #include "net/quic/quic_time.h" | 12 #include "net/quic/core/quic_time.h" |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 | 15 |
| 16 class QuicUnackedPacketMap; | 16 class QuicUnackedPacketMap; |
| 17 class RttStats; | 17 class RttStats; |
| 18 | 18 |
| 19 class NET_EXPORT_PRIVATE LossDetectionInterface { | 19 class NET_EXPORT_PRIVATE LossDetectionInterface { |
| 20 public: | 20 public: |
| 21 virtual ~LossDetectionInterface() {} | 21 virtual ~LossDetectionInterface() {} |
| 22 | 22 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 39 virtual void SpuriousRetransmitDetected( | 39 virtual void SpuriousRetransmitDetected( |
| 40 const QuicUnackedPacketMap& unacked_packets, | 40 const QuicUnackedPacketMap& unacked_packets, |
| 41 QuicTime time, | 41 QuicTime time, |
| 42 const RttStats& rtt_stats, | 42 const RttStats& rtt_stats, |
| 43 QuicPacketNumber spurious_retransmission) = 0; | 43 QuicPacketNumber spurious_retransmission) = 0; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace net | 46 } // namespace net |
| 47 | 47 |
| 48 #endif // NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_ | 48 #endif // NET_QUIC_CONGESTION_CONTROL_LOSS_DETECTION_INTERFACE_H_ |
| OLD | NEW |