Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(481)

Unified Diff: net/quic/core/quic_spdy_stream.h

Issue 2399543002: Rename QuicSpdyStream::MarkTrailersDelivered to MarkTrailersConsumed. No behavior change. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/chromium/quic_chromium_client_stream.cc ('k') | net/quic/core/quic_spdy_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_spdy_stream.h
diff --git a/net/quic/core/quic_spdy_stream.h b/net/quic/core/quic_spdy_stream.h
index 078a3ed726a02a0f91cfaa0f9ef9a4d5e85651ca..47cb201d4810a9c30d9039ee39a48761d531269d 100644
--- a/net/quic/core/quic_spdy_stream.h
+++ b/net/quic/core/quic_spdy_stream.h
@@ -140,11 +140,15 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream {
// Marks |bytes_consumed| of the headers data as consumed.
void MarkHeadersConsumed(size_t bytes_consumed);
- // Marks |bytes_consumed| of the trailers data as consumed.
+ // Marks |bytes_consumed| of the trailers data as consumed. This applies to
+ // the case where this object receives headers and trailers data via calls to
+ // OnStreamHeaders().
void MarkTrailersConsumed(size_t bytes_consumed);
- // Marks the trailers as consumed.
- void MarkTrailersDelivered();
+ // Marks the trailers as consumed. This applies to the case where this object
+ // receives headers and trailers as QuicHeaderLists via calls to
+ // OnStreamHeaderList().
+ void MarkTrailersConsumed();
// Clears |header_list_|.
void ConsumeHeaderList();
@@ -250,7 +254,7 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream {
// True if the trailers have been completely decompressed.
bool trailers_decompressed_;
// True if the trailers have been consumed.
- bool trailers_delivered_;
+ bool trailers_consumed_;
// Contains a copy of the decompressed trailers until they are consumed
// via ProcessData or Readv.
std::string decompressed_trailers_;
« no previous file with comments | « net/quic/chromium/quic_chromium_client_stream.cc ('k') | net/quic/core/quic_spdy_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698