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

Unified Diff: net/quic/quic_headers_stream.cc

Issue 1468773002: Changing from QuicPriority to SpdyPriority. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@107610692
Patch Set: Created 5 years, 1 month 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/quic_headers_stream.h ('k') | net/quic/quic_headers_stream_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_headers_stream.cc
diff --git a/net/quic/quic_headers_stream.cc b/net/quic/quic_headers_stream.cc
index 7cf3e72bfe65092198b1b7ec94c800a9d49265b2..2b101640c1e0917aaa5f31b4dd76af4ea36195da 100644
--- a/net/quic/quic_headers_stream.cc
+++ b/net/quic/quic_headers_stream.cc
@@ -208,7 +208,7 @@ size_t QuicHeadersStream::WriteHeaders(
QuicStreamId stream_id,
const SpdyHeaderBlock& headers,
bool fin,
- QuicPriority priority,
+ SpdyPriority priority,
QuicAckListenerInterface* ack_notifier_delegate) {
SpdyHeadersIR headers_frame(stream_id);
headers_frame.set_header_block(headers);
@@ -253,8 +253,8 @@ void QuicHeadersStream::OnDataAvailable() {
}
}
-QuicPriority QuicHeadersStream::Priority() const {
- return QuicWriteBlockedList::kHighestPriority;
+SpdyPriority QuicHeadersStream::Priority() const {
+ return net::kHighestPriority; // The smallest priority is also the highest
}
void QuicHeadersStream::OnSynStream(SpdyStreamId stream_id,
« no previous file with comments | « net/quic/quic_headers_stream.h ('k') | net/quic/quic_headers_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698