| Index: net/quic/quic_packet_generator.h
|
| diff --git a/net/quic/quic_packet_generator.h b/net/quic/quic_packet_generator.h
|
| index d408aeab31b4eded5ebb60b4c6c54f88feda0ed4..77214df3e59a26123eed4f4d2785c80c7dd6fc96 100644
|
| --- a/net/quic/quic_packet_generator.h
|
| +++ b/net/quic/quic_packet_generator.h
|
| @@ -54,6 +54,7 @@
|
| #define NET_QUIC_QUIC_PACKET_GENERATOR_H_
|
|
|
| #include "net/quic/quic_packet_creator.h"
|
| +#include "net/quic/quic_sent_packet_manager.h"
|
| #include "net/quic/quic_types.h"
|
|
|
| namespace net {
|
| @@ -64,7 +65,8 @@ class QuicPacketGeneratorPeer;
|
|
|
| class QuicAckNotifier;
|
|
|
| -class NET_EXPORT_PRIVATE QuicPacketGenerator {
|
| +class NET_EXPORT_PRIVATE QuicPacketGenerator
|
| + : public QuicSentPacketManager::NetworkChangeVisitor {
|
| public:
|
| class NET_EXPORT_PRIVATE DelegateInterface {
|
| public:
|
| @@ -98,6 +100,10 @@ class NET_EXPORT_PRIVATE QuicPacketGenerator {
|
|
|
| virtual ~QuicPacketGenerator();
|
|
|
| + // QuicSentPacketManager::NetworkChangeVisitor methods.
|
| + virtual void OnCongestionWindowChange(QuicByteCount congestion_window)
|
| + OVERRIDE;
|
| +
|
| // Indicates that an ACK frame should be sent. If |also_send_feedback| is
|
| // true, then it also indicates a CONGESTION_FEEDBACK frame should be sent.
|
| // If |also_send_stop_waiting| is true, then it also indicates that a
|
| @@ -191,7 +197,7 @@ class NET_EXPORT_PRIVATE QuicPacketGenerator {
|
| // Serializes and calls the delegate on an FEC packet if one was under
|
| // construction in the creator. When |force| is false, it relies on the
|
| // creator being ready to send an FEC packet, otherwise FEC packet is sent
|
| - // as long as one is under construction in the creator. Also tries to turns
|
| + // as long as one is under construction in the creator. Also tries to turn
|
| // off FEC protection in the creator if it's off in the generator.
|
| void MaybeSendFecPacketAndCloseGroup(bool force);
|
|
|
|
|