| Index: net/quic/core/quic_packet_creator.h
|
| diff --git a/net/quic/core/quic_packet_creator.h b/net/quic/core/quic_packet_creator.h
|
| index e02a3359703f95b31e988c80f6f672d814d709c1..b04fb45ca47a75a01d4971219d2ca2d3d8fa18f8 100644
|
| --- a/net/quic/core/quic_packet_creator.h
|
| +++ b/net/quic/core/quic_packet_creator.h
|
| @@ -119,13 +119,14 @@ class QUIC_EXPORT_PRIVATE QuicPacketCreator {
|
| // QuicStreamFrame to the returned SerializedPacket. Sets
|
| // |num_bytes_consumed| to the number of bytes consumed to create the
|
| // QuicStreamFrame.
|
| - void CreateAndSerializeStreamFrame(QuicStreamId id,
|
| - const QuicIOVector& iov,
|
| - QuicStreamOffset iov_offset,
|
| - QuicStreamOffset stream_offset,
|
| - bool fin,
|
| - QuicAckListenerInterface* listener,
|
| - size_t* num_bytes_consumed);
|
| + void CreateAndSerializeStreamFrame(
|
| + QuicStreamId id,
|
| + const QuicIOVector& iov,
|
| + QuicStreamOffset iov_offset,
|
| + QuicStreamOffset stream_offset,
|
| + bool fin,
|
| + const scoped_refptr<QuicAckListenerInterface>& listener,
|
| + size_t* num_bytes_consumed);
|
|
|
| // Returns true if there are frames pending to be serialized.
|
| bool HasPendingFrames() const;
|
| @@ -161,7 +162,7 @@ class QUIC_EXPORT_PRIVATE QuicPacketCreator {
|
|
|
| // Adds |listener| to the next serialized packet and notifies the
|
| // std::listener with |length| as the number of acked bytes.
|
| - void AddAckListener(QuicAckListenerInterface* listener,
|
| + void AddAckListener(const scoped_refptr<QuicAckListenerInterface>& listener,
|
| QuicPacketLength length);
|
|
|
| // Creates a version negotiation packet which supports |supported_versions|.
|
|
|