Index: net/quic/quic_packet_creator.h |
diff --git a/net/quic/quic_packet_creator.h b/net/quic/quic_packet_creator.h |
index 0e198879f936be4d4d618d10615277b158b4ae97..238f26ee59ab825193c510db8fc41fbc68440eca 100644 |
--- a/net/quic/quic_packet_creator.h |
+++ b/net/quic/quic_packet_creator.h |
@@ -56,6 +56,9 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface { |
// return true if an FEC group is open. |
bool ShouldSendFec(bool force_close) const; |
+ // Returns true if an FEC packet is under construction. |
+ bool IsFecGroupOpen() const; |
+ |
// Makes the framer not serialize the protocol version in sent packets. |
void StopSendingVersion(); |
@@ -111,7 +114,7 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface { |
const QuicFrames& frames, QuicSequenceNumberLength original_length); |
// Returns true if there are frames pending to be serialized. |
- bool HasPendingFrames(); |
+ bool HasPendingFrames() const; |
// Returns whether FEC protection is currently enabled. Note: Enabled does not |
// mean that an FEC group is currently active; i.e., IsFecProtected() may |