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

Unified Diff: net/quic/quic_reliable_client_stream.cc

Issue 1471573002: Replacing EffectivePriority with Priority for QUIC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@107595145
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_reliable_client_stream.h ('k') | net/quic/quic_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_reliable_client_stream.cc
diff --git a/net/quic/quic_reliable_client_stream.cc b/net/quic/quic_reliable_client_stream.cc
index 00132b6ed75b762c449a47ad9deb7e7831e45771..b1f599fe4d34f3d6762ddcbde180dca4e51e298b 100644
--- a/net/quic/quic_reliable_client_stream.cc
+++ b/net/quic/quic_reliable_client_stream.cc
@@ -70,9 +70,9 @@ void QuicReliableClientStream::OnCanWrite() {
}
}
-QuicPriority QuicReliableClientStream::EffectivePriority() const {
+QuicPriority QuicReliableClientStream::Priority() const {
if (delegate_ && delegate_->HasSendHeadersComplete()) {
- return QuicSpdyStream::EffectivePriority();
+ return QuicSpdyStream::Priority();
}
return QuicWriteBlockedList::kHighestPriority;
}
@@ -126,7 +126,7 @@ int QuicReliableClientStream::Read(IOBuffer* buf, int buf_len) {
bool QuicReliableClientStream::CanWrite(const CompletionCallback& callback) {
bool can_write = session()->connection()->CanWrite(HAS_RETRANSMITTABLE_DATA);
if (!can_write) {
- session()->MarkConnectionLevelWriteBlocked(id(), EffectivePriority());
+ session()->MarkConnectionLevelWriteBlocked(id(), Priority());
DCHECK(callback_.is_null());
callback_ = callback;
}
« no previous file with comments | « net/quic/quic_reliable_client_stream.h ('k') | net/quic/quic_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698