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

Unified Diff: net/quic/test_tools/quic_flow_controller_peer.cc

Issue 305033011: QUIC flow control now based on highest received byte offset rather than (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/reliable_quic_stream.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_flow_controller_peer.cc
diff --git a/net/quic/test_tools/quic_flow_controller_peer.cc b/net/quic/test_tools/quic_flow_controller_peer.cc
index 80b5e2bae5d8166047de9efd63a7ac0d5593057a..35882ede4bf56529ca6e21be51c550655aa15224 100644
--- a/net/quic/test_tools/quic_flow_controller_peer.cc
+++ b/net/quic/test_tools/quic_flow_controller_peer.cc
@@ -54,7 +54,7 @@ uint64 QuicFlowControllerPeer::ReceiveWindowOffset(
uint64 QuicFlowControllerPeer::ReceiveWindowSize(
QuicFlowController* flow_controller) {
return flow_controller->receive_window_offset_ -
- flow_controller->TotalReceivedBytes();
+ flow_controller->highest_received_byte_offset_;
}
} // namespace test
« no previous file with comments | « net/quic/reliable_quic_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698