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

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

Issue 683113005: Update from chromium https://crrev.com/302282 (Closed) Base URL: git@github.com:domokit/mojo.git@master
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_connection_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 f7001716be30c6469f48ff81840f76375174c533..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);
@@ -44,5 +51,11 @@ void QuicConfigPeer::SetReceivedConnectionOptions(
config->connection_options_.SetReceivedValues(options);
}
+// static
+void QuicConfigPeer::SetReceivedBytesForConnectionId(QuicConfig* config,
+ uint32 bytes) {
+ config->bytes_for_connection_id_.SetReceivedValue(bytes);
+}
+
} // namespace test
} // namespace net
« no previous file with comments | « net/quic/test_tools/quic_config_peer.h ('k') | net/quic/test_tools/quic_connection_peer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698