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

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

Issue 2101353003: Add a new kMIDS (Max Incoming Dynamic Streams) config option, to eventually replace kMSPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final
Patch Set: Created 4 years, 6 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/tools/quic/end_to_end_test.cc » ('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 1dac69d5d03d1503adbf3eb1e2d4c9e1920d243c..8a094d6ebd5061ee7b44e05d42efe232823d3d29 100644
--- a/net/quic/test_tools/quic_config_peer.cc
+++ b/net/quic/test_tools/quic_config_peer.cc
@@ -51,5 +51,12 @@ void QuicConfigPeer::SetReceivedDisableConnectionMigration(QuicConfig* config) {
config->connection_migration_disabled_.SetReceivedValue(1);
}
+// static
+void QuicConfigPeer::SetReceivedMaxIncomingDynamicStreams(
+ QuicConfig* config,
+ uint32_t max_streams) {
+ config->max_incoming_dynamic_streams_.SetReceivedValue(max_streams);
+}
+
} // namespace test
} // namespace net
« no previous file with comments | « net/quic/test_tools/quic_config_peer.h ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698