Refactor QuicSession to allow subclasses to do their own thing on pending streams.
gfe-relnote: code refactor and v99 only. Not used in production.
PiperOrigin-RevId: 248015584
Change-Id: Ie0ac855070b304bd90a8e68392cff3cf4c5ac52a
diff --git a/quic/core/http/quic_spdy_session.h b/quic/core/http/quic_spdy_session.h
index 46f2b8a..65fa346 100644
--- a/quic/core/http/quic_spdy_session.h
+++ b/quic/core/http/quic_spdy_session.h
@@ -195,12 +195,12 @@
// Returns true if there are open HTTP requests.
bool ShouldKeepConnectionAlive() const override;
- // Overridden to buffer incoming streams for version 99.
- bool ShouldBufferIncomingStream(QuicStreamId id) const override;
+ // Overridden to buffer incoming unidirectional streams for version 99.
+ bool UsesPendingStreams() const override;
// Overridden to Process HTTP/3 stream types. No action will be taken if
// stream type cannot be read.
- void ProcessPendingStreamType(PendingStream* pending) override;
+ void ProcessPendingStream(PendingStream* pending) override;
size_t WriteHeadersOnHeadersStreamImpl(
QuicStreamId id,