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

Unified Diff: net/quic/chromium/bidirectional_stream_quic_impl.h

Issue 2393233002: Remove OnDataAvailable() notification when trailers are to be delivered (Closed)
Patch Set: self review Created 4 years, 2 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
Index: net/quic/chromium/bidirectional_stream_quic_impl.h
diff --git a/net/quic/chromium/bidirectional_stream_quic_impl.h b/net/quic/chromium/bidirectional_stream_quic_impl.h
index 1a15e98d661f655935641df4813ecb6b50fbe89b..96828274bfc119fa6075f0ac44de000ee2fe63de 100644
--- a/net/quic/chromium/bidirectional_stream_quic_impl.h
+++ b/net/quic/chromium/bidirectional_stream_quic_impl.h
@@ -78,6 +78,8 @@ class NET_EXPORT_PRIVATE BidirectionalStreamQuicImpl
void NotifyError(int error);
// Notifies the delegate that the stream is ready.
void NotifyStreamReady();
+ // Notify the delegate that |bytes_read| number of bytes is read.
+ void NotifyDataRead(int bytes_read);
// Resets the stream and ensures that |delegate_| won't be called back.
void ResetStream();

Powered by Google App Engine
This is Rietveld 408576698