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_stream.h b/quic/core/quic_stream.h
index c8e5012..55d0bd4 100644
--- a/quic/core/quic_stream.h
+++ b/quic/core/quic_stream.h
@@ -247,9 +247,7 @@
// sent. If this is not true on deletion of the stream object, the session
// must keep track of the stream's byte offset until a definitive final value
// arrives.
- bool HasFinalReceivedByteOffset() const {
- return fin_received_ || rst_received_;
- }
+ bool HasReceivedFinalOffset() const { return fin_received_ || rst_received_; }
// Returns true if the stream has queued data waiting to write.
bool HasBufferedData() const;