Index: net/quic/quic_spdy_stream.h |
diff --git a/net/quic/quic_spdy_stream.h b/net/quic/quic_spdy_stream.h |
index 543e490bdb062fc702d6f58ec273843abb57087a..60a6d67b4d00a693cb6cf54af9447d733f7844a6 100644 |
--- a/net/quic/quic_spdy_stream.h |
+++ b/net/quic/quic_spdy_stream.h |
@@ -62,11 +62,9 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream { |
// ReliableQuicStream implementation |
void OnClose() override; |
- // By default, this is the same as priority(), however it allows streams |
- // to temporarily alter effective priority. For example if a SPDY stream has |
- // compressed but not written headers it can write the headers with a higher |
- // priority. |
- QuicPriority EffectivePriority() const override; |
+ // This is the same as priority() and is being deprecated |
+ // TODO(alyssar) remove after Priority refactor. |
+ QuicPriority Priority() const override; |
// Called by the session when decompressed headers data is received |
// for this stream. |
@@ -115,13 +113,12 @@ class NET_EXPORT_PRIVATE QuicSpdyStream : public ReliableQuicStream { |
return decompressed_headers_; |
} |
+ QuicPriority priority() const { return priority_; } |
+ |
protected: |
// Sets priority_ to priority. This should only be called before bytes are |
// written to the server. |
void set_priority(QuicPriority priority); |
- // This is protected because external classes should use EffectivePriority |
- // instead. |
- QuicPriority priority() const { return priority_; } |
bool FinishedReadingHeaders() const; |