Change name of QuicStream::HasFinalReceivedByteOffset() to HasReiceivedFinalOffset().
The new name is clearer on what to expect.
gfe-relnote: no behavior change. Not protected.
PiperOrigin-RevId: 278497389
Change-Id: Ia52ca9f3bcf56c2272553281aefc9723032aa4de
diff --git a/quic/core/quic_session.cc b/quic/core/quic_session.cc
index 09e5c74..c16b723 100644
--- a/quic/core/quic_session.cc
+++ b/quic/core/quic_session.cc
@@ -834,7 +834,7 @@
// If we haven't received a FIN or RST for this stream, we need to keep track
// of the how many bytes the stream's flow controller believes it has
// received, for accurate connection level flow control accounting.
- const bool had_fin_or_rst = stream->HasFinalReceivedByteOffset();
+ const bool had_fin_or_rst = stream->HasReceivedFinalOffset();
if (!had_fin_or_rst) {
InsertLocallyClosedStreamsHighestOffset(
stream_id, stream->flow_controller()->highest_received_byte_offset());