| Index: net/quic/core/quic_sent_packet_manager_interface.h
|
| diff --git a/net/quic/core/quic_sent_packet_manager_interface.h b/net/quic/core/quic_sent_packet_manager_interface.h
|
| index 498f5cdc02629068ae8bddd1f31a57c8d9f5e2c7..b1860e4d008f3a1b77df2ce546947d6e5e836224 100644
|
| --- a/net/quic/core/quic_sent_packet_manager_interface.h
|
| +++ b/net/quic/core/quic_sent_packet_manager_interface.h
|
| @@ -7,7 +7,9 @@
|
|
|
| #include "base/macros.h"
|
| #include "net/base/net_export.h"
|
| -#include "net/quic/core/quic_protocol.h"
|
| +#include "net/quic/core/congestion_control/send_algorithm_interface.h"
|
| +#include "net/quic/core/quic_packets.h"
|
| +#include "net/quic/core/quic_pending_retransmission.h"
|
| #include "net/quic/core/quic_sustained_bandwidth_recorder.h"
|
|
|
| namespace net {
|
| @@ -98,7 +100,7 @@ class NET_EXPORT_PRIVATE QuicSentPacketManagerInterface {
|
|
|
| virtual bool HasPendingRetransmissions() const = 0;
|
|
|
| - virtual PendingRetransmission NextPendingRetransmission() = 0;
|
| + virtual QuicPendingRetransmission NextPendingRetransmission() = 0;
|
|
|
| // Returns true if the default path has unacked packets.
|
| virtual bool HasUnackedPackets() const = 0;
|
| @@ -188,6 +190,10 @@ class NET_EXPORT_PRIVATE QuicSentPacketManagerInterface {
|
| // Signals to the congestion controller that the connection has no outstanding
|
| // data to send.
|
| virtual void OnApplicationLimited() = 0;
|
| +
|
| + // Returns the currently used congestion control algorithm. The manager
|
| + // retains the ownership of the algorithm.
|
| + virtual const SendAlgorithmInterface* GetSendAlgorithm() const = 0;
|
| };
|
|
|
| } // namespace net
|
|
|