gfe-relnote: In QUIC, check nonretransmittable_frames, instead of packet length, to determine if a serialized packet is a MTU probe or not. Protected by --gfe2_reloadable_flag_quic_better_mtu_packet_check.
PiperOrigin-RevId: 292604133
Change-Id: I14e54f30af8d8a42c205809f5424a9c76a9eeccb
diff --git a/quic/core/quic_utils.h b/quic/core/quic_utils.h
index 04858f0..c143154 100644
--- a/quic/core/quic_utils.h
+++ b/quic/core/quic_utils.h
@@ -101,6 +101,9 @@
static bool IsHandshakeFrame(const QuicFrame& frame,
QuicTransportVersion transport_version);
+ // Return true if any frame in |frames| is of |type|.
+ static bool ContainsFrameType(const QuicFrames& frames, QuicFrameType type);
+
// Returns packet state corresponding to |retransmission_type|.
static SentPacketState RetransmissionTypeToPacketState(
TransmissionType retransmission_type);