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

Unified Diff: net/quic/quic_reliable_client_stream.cc

Issue 1261273003: relnote: Change the QuicStreamSequencer to call OnDataAvailable instead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace DonReading with OnFinRead Created 5 years, 4 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_reliable_client_stream.h ('k') | net/quic/quic_stream_sequencer.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 24e469fc1cacdbf3c5dd176d46f867950f99c06a..42fda8bf111344972d78a94a192e14e4a8f64da5 100644
--- a/net/quic/quic_reliable_client_stream.cc
+++ b/net/quic/quic_reliable_client_stream.cc
@@ -77,15 +77,6 @@ QuicPriority QuicReliableClientStream::EffectivePriority() const {
return QuicWriteBlockedList::kHighestPriority;
}
-void QuicReliableClientStream::OnFinRead() {
- // Do not close the stream here to give the caller a chance to
- // invoke DoneReading.
-}
-
-void QuicReliableClientStream::DoneReading() {
- QuicDataStream::OnFinRead();
-}
-
int QuicReliableClientStream::WriteStreamData(
base::StringPiece data,
bool fin,
@@ -107,7 +98,7 @@ void QuicReliableClientStream::SetDelegate(
DCHECK(!(delegate_ && delegate));
delegate_ = delegate;
if (delegate == nullptr && sequencer()->IsClosed()) {
- DoneReading();
+ OnFinRead();
}
}
« no previous file with comments | « net/quic/quic_reliable_client_stream.h ('k') | net/quic/quic_stream_sequencer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698