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

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

Issue 687093002: Move receive_window_ from BbrTcpSender and TcpCubicSender to (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Gathering_ClientConnectionStats_78688302
Patch Set: Created 6 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
« no previous file with comments | « net/quic/test_tools/quic_config_peer.h ('k') | net/quic/test_tools/quic_sent_packet_manager_peer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/test_tools/quic_config_peer.cc
diff --git a/net/quic/test_tools/quic_config_peer.cc b/net/quic/test_tools/quic_config_peer.cc
index 6aa2499cddf04f051dc64189b8e86ee7604ba46a..7c84001512af63088c0610ca9c8bbeaf2865ad73 100644
--- a/net/quic/test_tools/quic_config_peer.cc
+++ b/net/quic/test_tools/quic_config_peer.cc
@@ -16,6 +16,13 @@ void QuicConfigPeer::SetReceivedInitialWindow(QuicConfig* config,
}
// static
+void QuicConfigPeer::SetReceivedSocketReceiveBuffer(
+ QuicConfig* config,
+ uint32 receive_buffer_bytes) {
+ config->socket_receive_buffer_.SetReceivedValue(receive_buffer_bytes);
+}
+
+// static
void QuicConfigPeer::SetReceivedInitialFlowControlWindow(QuicConfig* config,
uint32 window_bytes) {
config->initial_flow_control_window_bytes_.SetReceivedValue(window_bytes);
« no previous file with comments | « net/quic/test_tools/quic_config_peer.h ('k') | net/quic/test_tools/quic_sent_packet_manager_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698