gfe-relnote: (n/a) Deprecate --gfe2_reloadable_flag_quic_set_transmission_type_for_next_frame.
PiperOrigin-RevId: 244216881
Change-Id: Ie570b14c4d019acb3df7e000eb1209e2d32dddb6
diff --git a/quic/core/quic_packet_creator.h b/quic/core/quic_packet_creator.h
index 85e0091..f420d9e 100644
--- a/quic/core/quic_packet_creator.h
+++ b/quic/core/quic_packet_creator.h
@@ -270,9 +270,7 @@
can_set_transmission_type_ = can_set_transmission_type;
}
- bool ShouldSetTransmissionTypeForNextFrame() const {
- return can_set_transmission_type_ && set_transmission_type_for_next_frame_;
- }
+ bool can_set_transmission_type() const { return can_set_transmission_type_; }
QuicByteCount pending_padding_bytes() const { return pending_padding_bytes_; }
@@ -410,10 +408,6 @@
// If true, packet_'s transmission type is only set by
// SetPacketTransmissionType and does not get cleared in ClearPacket.
bool can_set_transmission_type_;
-
- // Latched value of --quic_set_transmission_type_for_next_frame. Don't use
- // this variable directly, use ShouldSetTransmissionTypeForNextFrame instead.
- bool set_transmission_type_for_next_frame_;
};
} // namespace quic