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

Unified Diff: net/quic/quic_crypto_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_crypto_stream.h ('k') | net/quic/quic_headers_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_crypto_stream.cc
diff --git a/net/quic/quic_crypto_stream.cc b/net/quic/quic_crypto_stream.cc
index 104b0f392ad5ae89fedb69e30dc599e14fe03a21..fdee37302af478edb80d84d70390e2b3d7bb2c85 100644
--- a/net/quic/quic_crypto_stream.cc
+++ b/net/quic/quic_crypto_stream.cc
@@ -15,6 +15,7 @@
using std::string;
using base::StringPiece;
+using net::SpdyPriority;
namespace net {
@@ -58,8 +59,8 @@ void QuicCryptoStream::OnDataAvailable() {
}
}
-QuicPriority QuicCryptoStream::Priority() const {
- return QuicUtils::HighestPriority();
+SpdyPriority QuicCryptoStream::Priority() const {
+ return net::kHighestPriority; // The smallest priority is also the highest
}
void QuicCryptoStream::SendHandshakeMessage(
« no previous file with comments | « net/quic/quic_crypto_stream.h ('k') | net/quic/quic_headers_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698