| Index: net/quic/core/quic_packet_generator.h
|
| diff --git a/net/quic/core/quic_packet_generator.h b/net/quic/core/quic_packet_generator.h
|
| index 094731eb7f56af3880a82273f9b01f78a288e476..be0215a776a3a33951986bbbd100d9f5cda9087b 100644
|
| --- a/net/quic/core/quic_packet_generator.h
|
| +++ b/net/quic/core/quic_packet_generator.h
|
| @@ -93,24 +93,27 @@ class QUIC_EXPORT_PRIVATE QuicPacketGenerator {
|
| // mode, these packets will also be sent during this call.
|
| // |delegate| (if not nullptr) will be informed once all packets sent as a
|
| // result of this call are ACKed by the peer.
|
| - QuicConsumedData ConsumeData(QuicStreamId id,
|
| - QuicIOVector iov,
|
| - QuicStreamOffset offset,
|
| - bool fin,
|
| - QuicAckListenerInterface* listener);
|
| + QuicConsumedData ConsumeData(
|
| + QuicStreamId id,
|
| + QuicIOVector iov,
|
| + QuicStreamOffset offset,
|
| + bool fin,
|
| + const scoped_refptr<QuicAckListenerInterface>& listener);
|
|
|
| // Sends as many data only packets as allowed by the send algorithm and the
|
| // available iov.
|
| // This path does not support FEC, padding, or bundling pending frames.
|
| - QuicConsumedData ConsumeDataFastPath(QuicStreamId id,
|
| - const QuicIOVector& iov,
|
| - QuicStreamOffset offset,
|
| - bool fin,
|
| - QuicAckListenerInterface* listener);
|
| + QuicConsumedData ConsumeDataFastPath(
|
| + QuicStreamId id,
|
| + const QuicIOVector& iov,
|
| + QuicStreamOffset offset,
|
| + bool fin,
|
| + const scoped_refptr<QuicAckListenerInterface>& listener);
|
|
|
| // Generates an MTU discovery packet of specified size.
|
| - void GenerateMtuDiscoveryPacket(QuicByteCount target_mtu,
|
| - QuicAckListenerInterface* listener);
|
| + void GenerateMtuDiscoveryPacket(
|
| + QuicByteCount target_mtu,
|
| + const scoped_refptr<QuicAckListenerInterface>& listener);
|
|
|
| // Indicates whether batch mode is currently enabled.
|
| bool InBatchMode();
|
|
|