gfe-relnote: Add IsStreamReady() interface to WriteScheduler and implement the interface in subclasses. No functional expected. Not protected.
PiperOrigin-RevId: 259522283
Change-Id: I8bdbdadd0150c71cc38c57607b39b5c2a5bc384c
diff --git a/spdy/core/write_scheduler.h b/spdy/core/write_scheduler.h
index 07e5fb3..7906ad7 100644
--- a/spdy/core/write_scheduler.h
+++ b/spdy/core/write_scheduler.h
@@ -147,6 +147,9 @@
// Returns the number of streams currently marked ready.
virtual size_t NumReadyStreams() const = 0;
+ // Returns true if stream with |stream_id| is ready.
+ virtual bool IsStreamReady(StreamIdType stream_id) const = 0;
+
// Returns summary of internal state, for logging/debugging.
virtual SpdyString DebugString() const = 0;
};