gfe-relnote: Remove draining_streams_ from QuicSession. Protected by gfe2_reloadable_flag_quic_deprecate_draining_streams.
PiperOrigin-RevId: 306919260
Change-Id: I6d40df89133f450ff3e913280465aff328714408
diff --git a/quic/core/quic_stream.h b/quic/core/quic_stream.h
index bf12149..b8e940f 100644
--- a/quic/core/quic_stream.h
+++ b/quic/core/quic_stream.h
@@ -358,6 +358,8 @@
// Returns true if the stream is static.
bool is_static() const { return is_static_; }
+ bool was_draining() const { return was_draining_; }
+
static spdy::SpdyStreamPrecedence CalculateDefaultPriority(
const QuicSession* session);
@@ -534,6 +536,10 @@
// If initialized, reset this stream at this deadline.
QuicTime deadline_;
+ // True if this stream has entered draining state. Only used when
+ // quic_deprecate_draining_streams is true.
+ bool was_draining_;
+
// Indicates whether this stream is bidirectional, read unidirectional or
// write unidirectional.
const StreamType type_;