| Index: net/quic/quic_packet_creator.h
|
| diff --git a/net/quic/quic_packet_creator.h b/net/quic/quic_packet_creator.h
|
| index e3e84f477b1e6df6d5dea3c9e9ffd28f46d8d822..83494da527790854dd672f7fd00bf378480b90db 100644
|
| --- a/net/quic/quic_packet_creator.h
|
| +++ b/net/quic/quic_packet_creator.h
|
| @@ -115,6 +115,14 @@ class NET_EXPORT_PRIVATE QuicPacketCreator : public QuicFecBuilderInterface {
|
| // Returns true if there are frames pending to be serialized.
|
| bool HasPendingFrames();
|
|
|
| + // Returns IN_FEC_GROUP or NOT_IN_FEC_GROUP, depending on whether FEC is
|
| + // enabled or not. Note: This does not mean that an FEC group is currently
|
| + // active; i.e., fec_group_.get() may still be NULL.
|
| + // TODO(jri): Straighten out naming: Enabling FEC for the connection
|
| + // should use FEC_ENABLED/DISABLED, and IN_FEC_GROUP/NOT_IN_FEC_GROUP should
|
| + // be used if a given packet is in an fec group.
|
| + InFecGroup IsFecEnabled() const;
|
| +
|
| // Returns the number of bytes which are available to be used by additional
|
| // frames in the packet. Since stream frames are slightly smaller when they
|
| // are the last frame in a packet, this method will return a different
|
|
|