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

Unified Diff: net/quic/quic_connection.h

Issue 181413005: Add SendWindowUpdate and SendBlocked methods to QuicConnection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.h
diff --git a/net/quic/quic_connection.h b/net/quic/quic_connection.h
index 481f426e1937ee3b8ded29ae8341f39f1675775c..5ced84f1d524283ae8a1f0dfef930b7385109254 100644
--- a/net/quic/quic_connection.h
+++ b/net/quic/quic_connection.h
@@ -231,11 +231,18 @@ class NET_EXPORT_PRIVATE QuicConnection
bool fin,
QuicAckNotifier::DelegateInterface* delegate);
- // Send a stream reset frame to the peer.
+ // Send a RST_STREAM frame to the peer.
virtual void SendRstStream(QuicStreamId id,
QuicRstStreamErrorCode error,
QuicStreamOffset bytes_written);
+ // Send a BLOCKED frame to the peer.
+ virtual void SendBlocked(QuicStreamId id);
+
+ // Send a WINDOW_UPDATE frame to the peer.
+ virtual void SendWindowUpdate(QuicStreamId id,
+ QuicStreamOffset byte_offset);
+
// Sends the connection close packet without affecting the state of the
// connection. This should only be called if the session is actively being
// destroyed: otherwise call SendConnectionCloseWithDetails instead.
« no previous file with comments | « no previous file | net/quic/quic_connection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698