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

Unified Diff: net/quic/quic_server_session_base_test.cc

Issue 2183493002: Add a merely pass-through QuicMultipathSentPacketManager. Protected behind blocked flag FLAGS_quic_… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
Index: net/quic/quic_server_session_base_test.cc
diff --git a/net/quic/quic_server_session_base_test.cc b/net/quic/quic_server_session_base_test.cc
index 980fdb19bb1137f616594be2d49e143264183d28..0d40b471aef5e377efe5a9f39b6d2323835756bf 100644
--- a/net/quic/quic_server_session_base_test.cc
+++ b/net/quic/quic_server_session_base_test.cc
@@ -406,7 +406,6 @@ TEST_P(QuicServerSessionBaseTest, BandwidthEstimates) {
// Client has sent kBWRE connection option to trigger bandwidth resumption.
// Disable this flag because if connection uses multipath sent packet manager,
// static_cast here does not work.
- FLAGS_quic_enable_multipath = false;
QuicTagVector copt;
copt.push_back(kBWRE);
QuicConfigPeer::SetReceivedConnectionOptions(session_->config(), copt);
@@ -426,8 +425,8 @@ TEST_P(QuicServerSessionBaseTest, BandwidthEstimates) {
// Set some initial bandwidth values.
QuicSentPacketManager* sent_packet_manager =
- static_cast<QuicSentPacketManager*>(
- QuicConnectionPeer::GetSentPacketManager(session_->connection()));
+ QuicConnectionPeer::GetSentPacketManager(session_->connection(),
+ kDefaultPathId);
QuicSustainedBandwidthRecorder& bandwidth_recorder =
QuicSentPacketManagerPeer::GetBandwidthRecorder(sent_packet_manager);
// Seed an rtt measurement equal to the initial default rtt.

Powered by Google App Engine
This is Rietveld 408576698