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

Unified Diff: net/quic/core/quic_flow_controller.h

Issue 2824773005: Improve QUIC flow-control commentary and variable-names. (Closed)
Patch Set: Created 3 years, 8 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/core/quic_flow_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_flow_controller.h
diff --git a/net/quic/core/quic_flow_controller.h b/net/quic/core/quic_flow_controller.h
index 6f9acb3b4e52a1d401e662c33ad20ea39046d0f2..97c6fdaf03c5f83af4ccc5d40bfd3889b659bd59 100644
--- a/net/quic/core/quic_flow_controller.h
+++ b/net/quic/core/quic_flow_controller.h
@@ -62,8 +62,10 @@ class QUIC_EXPORT_PRIVATE QuicFlowController
// Called when bytes are sent to the peer.
void AddBytesSent(QuicByteCount bytes_sent);
- // Set a new send window offset.
- // Returns true if this increases send_window_offset_ and is now blocked.
+ // Increases |send_window_offset_| if |new_send_window_offset| is
+ // greater than the current value. Returns true if this increase
+ // also causes us to change from a blocked state to unblocked. In
+ // all other cases, returns false.
bool UpdateSendWindowOffset(QuicStreamOffset new_send_window_offset);
// QuicFlowControllerInterface.
« no previous file with comments | « no previous file | net/quic/core/quic_flow_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698