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

Unified Diff: net/quic/quic_stream_sequencer.cc

Issue 312553003: Land Recent QUIC Changes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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_stream_factory.cc ('k') | net/quic/reliable_quic_stream.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_stream_sequencer.cc
diff --git a/net/quic/quic_stream_sequencer.cc b/net/quic/quic_stream_sequencer.cc
index 61b4f7cf337990e90040e7042a9bce9624ffa64a..d0b6933f224e801b101925c83eb72a31eeb7b73f 100644
--- a/net/quic/quic_stream_sequencer.cc
+++ b/net/quic/quic_stream_sequencer.cc
@@ -68,7 +68,6 @@ bool QuicStreamSequencer::OnStreamFrame(const QuicStreamFrame& frame) {
}
num_bytes_consumed_ += bytes_consumed;
stream_->AddBytesConsumed(bytes_consumed);
- stream_->MaybeSendWindowUpdate();
if (MaybeCloseStream()) {
return true;
@@ -95,7 +94,6 @@ bool QuicStreamSequencer::OnStreamFrame(const QuicStreamFrame& frame) {
byte_offset, string(static_cast<char*>(iov.iov_base), iov.iov_len)));
byte_offset += iov.iov_len;
num_bytes_buffered_ += iov.iov_len;
- stream_->AddBytesBuffered(iov.iov_len);
}
return true;
}
@@ -248,8 +246,6 @@ void QuicStreamSequencer::RecordBytesConsumed(size_t bytes_consumed) {
num_bytes_buffered_ -= bytes_consumed;
stream_->AddBytesConsumed(bytes_consumed);
- stream_->RemoveBytesBuffered(bytes_consumed);
- stream_->MaybeSendWindowUpdate();
}
} // namespace net
« no previous file with comments | « net/quic/quic_stream_factory.cc ('k') | net/quic/reliable_quic_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698