Change QuicSpdySession::GetSpdyDataStream() to GetOrCreateSpdyDataStream() because new stream might be created from this method.
gfe-relnote: n/a. Function name change only.
PiperOrigin-RevId: 284864828
Change-Id: I4de05ab179e6b29a57de302b2bf63ba460758da6
diff --git a/quic/core/http/quic_spdy_session.h b/quic/core/http/quic_spdy_session.h
index 575d664..7e952c5 100644
--- a/quic/core/http/quic_spdy_session.h
+++ b/quic/core/http/quic_spdy_session.h
@@ -282,7 +282,7 @@
virtual QuicSpdyStream* CreateOutgoingBidirectionalStream() = 0;
virtual QuicSpdyStream* CreateOutgoingUnidirectionalStream() = 0;
- QuicSpdyStream* GetSpdyDataStream(const QuicStreamId stream_id);
+ QuicSpdyStream* GetOrCreateSpdyDataStream(const QuicStreamId stream_id);
// If an incoming stream can be created, return true.
virtual bool ShouldCreateIncomingStream(QuicStreamId id) = 0;
@@ -441,7 +441,7 @@
// If the endpoint has sent HTTP/3 GOAWAY frame.
bool http3_goaway_sent_;
- // If the sendpoint has sent the initial HTTP/3 MAX_PUSH_ID frame.
+ // If the endpoint has sent the initial HTTP/3 MAX_PUSH_ID frame.
bool http3_max_push_id_sent_;
};