gfe-relnote: In QUIC, replaces QuicStream::priority_ with QuicStream::precedence_ and pluming it to write_blocked_list. No functional change expected. Not protected.
This is a preparation for using H2 priority.
PiperOrigin-RevId: 260000909
Change-Id: Ieee790614b259509ad12611e17e99511feedc423
diff --git a/quic/core/quic_stream.h b/quic/core/quic_stream.h
index 6f5536d..b747451 100644
--- a/quic/core/quic_stream.h
+++ b/quic/core/quic_stream.h
@@ -176,11 +176,11 @@
virtual void OnConnectionClosed(QuicErrorCode error,
ConnectionCloseSource source);
- spdy::SpdyPriority priority() const;
+ const spdy::SpdyStreamPrecedence& precedence() const;
// Sets priority_ to priority. This should only be called before bytes are
// written to the server.
- void SetPriority(spdy::SpdyPriority priority);
+ void SetPriority(const spdy::SpdyStreamPrecedence& precedence);
// Returns true if this stream is still waiting for acks of sent data.
// This will return false if all data has been acked, or if the stream
@@ -456,8 +456,8 @@
QuicStreamId id_;
// Pointer to the owning QuicSession object.
QuicSession* session_;
- // The priority of the stream, once parsed.
- spdy::SpdyPriority priority_;
+ // The precedence of the stream, once parsed.
+ spdy::SpdyStreamPrecedence precedence_;
// Bytes read refers to payload bytes only: they do not include framing,
// encryption overhead etc.
uint64_t stream_bytes_read_;