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 bd4604c58c3f37d62fb764d2035152cdc88b8be8..43bffc1f4a4b8e786b12549ce2fc286fe8d65a2b 100644 |
--- a/net/quic/core/quic_packet_generator.h |
+++ b/net/quic/core/quic_packet_generator.h |
@@ -162,6 +162,10 @@ class QUIC_EXPORT_PRIVATE QuicPacketGenerator { |
// Sets the encrypter to use for the encryption level. |
void SetEncrypter(EncryptionLevel level, QuicEncrypter* encrypter); |
+ // Returns true if there are control frames or current constructed packet has |
+ // pending retransmittable frames. |
+ bool HasRetransmittableFrames() const; |
+ |
// Sets the encryption level that will be applied to new packets. |
void set_encryption_level(EncryptionLevel level); |