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

Unified Diff: net/quic/quic_session.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_session.h ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_session.cc
diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc
index 809223bb5d7b85f6bb803a7945cdcbf06a0cc0a9..809ebd8d5d7a1d2a9bf2a42fdd042e55124085c7 100644
--- a/net/quic/quic_session.cc
+++ b/net/quic/quic_session.cc
@@ -19,6 +19,7 @@ using std::map;
using std::max;
using std::string;
using std::vector;
+using net::SpdyPriority;
namespace net {
@@ -734,14 +735,14 @@ size_t QuicSession::GetNumAvailableStreams() const {
}
void QuicSession::MarkConnectionLevelWriteBlocked(QuicStreamId id,
- QuicPriority priority) {
+ SpdyPriority priority) {
#ifndef NDEBUG
ReliableQuicStream* stream = GetStream(id);
if (stream != nullptr) {
LOG_IF(DFATAL, priority != stream->Priority())
<< ENDPOINT << "Stream " << id
- << "Priorities do not match. Got: " << priority
- << " Expected: " << stream->Priority();
+ << "Priorities do not match. Got: " << static_cast<int>(priority)
+ << " Expected: " << static_cast<int>(stream->Priority());
} else {
LOG(DFATAL) << "Marking unknown stream " << id << " blocked.";
}
« no previous file with comments | « net/quic/quic_session.h ('k') | net/quic/quic_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698