| Index: net/quic/core/quic_unacked_packet_map.h
|
| diff --git a/net/quic/core/quic_unacked_packet_map.h b/net/quic/core/quic_unacked_packet_map.h
|
| index 1901f49e322d18d6d956e057b88d0473a0033d44..70549b50df15dc59926600e3bd2dd09265407a0a 100644
|
| --- a/net/quic/core/quic_unacked_packet_map.h
|
| +++ b/net/quic/core/quic_unacked_packet_map.h
|
| @@ -11,6 +11,7 @@
|
| #include "base/macros.h"
|
| #include "net/quic/core/quic_packets.h"
|
| #include "net/quic/core/quic_transmission_info.h"
|
| +#include "net/quic/core/stream_notifier_interface.h"
|
| #include "net/quic/platform/api/quic_export.h"
|
|
|
| namespace net {
|
| @@ -50,6 +51,10 @@ class QUIC_EXPORT_PRIVATE QuicUnackedPacketMap {
|
| void NotifyAndClearListeners(QuicPacketNumber newest_transmission,
|
| QuicTime::Delta delta_largest_observed);
|
|
|
| + // Notifies stream_notifier that stream frames have been acked.
|
| + void NotifyStreamFramesAcked(const QuicTransmissionInfo& info,
|
| + QuicTime::Delta ack_delay);
|
| +
|
| // Marks |info| as no longer in flight.
|
| void RemoveFromInFlight(QuicTransmissionInfo* info);
|
|
|
| @@ -146,6 +151,8 @@ class QUIC_EXPORT_PRIVATE QuicUnackedPacketMap {
|
| // RTT measurement purposes.
|
| void RemoveObsoletePackets();
|
|
|
| + void SetStreamNotifier(StreamNotifierInterface* stream_notifier);
|
| +
|
| private:
|
| // Called when a packet is retransmitted with a new packet number.
|
| // |old_packet_number| will remain unacked, but will have no
|
| @@ -194,6 +201,10 @@ class QUIC_EXPORT_PRIVATE QuicUnackedPacketMap {
|
| // Number of retransmittable crypto handshake packets.
|
| size_t pending_crypto_packet_count_;
|
|
|
| + // Receives notifications of stream frames being retransmitted or
|
| + // acknowledged.
|
| + StreamNotifierInterface* stream_notifier_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(QuicUnackedPacketMap);
|
| };
|
|
|
|
|