Let session methods that write data take argument of TransmissionType so that it's clear at which transmission type the data is written.
gfe-relnote: no behavior change. not protected.
PiperOrigin-RevId: 298673372
Change-Id: Ibe1e680be7bce0e6310f8b6db50f7f86c4c8a206
diff --git a/quic/core/quic_stream.h b/quic/core/quic_stream.h
index 9efbe50..36aec05 100644
--- a/quic/core/quic_stream.h
+++ b/quic/core/quic_stream.h
@@ -313,10 +313,12 @@
bool fin_lost);
// Called to retransmit outstanding portion in data [offset, offset +
- // data_length) and |fin|. Returns true if all data gets retransmitted.
+ // data_length) and |fin| with Transmission |type|.
+ // Returns true if all data gets retransmitted.
virtual bool RetransmitStreamData(QuicStreamOffset offset,
QuicByteCount data_length,
- bool fin);
+ bool fin,
+ TransmissionType type);
// Sets deadline of this stream to be now + |ttl|, returns true if the setting
// succeeds.