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

Unified Diff: net/quic/quic_flow_controller_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_flow_controller_test.cc
diff --git a/net/quic/quic_flow_controller_test.cc b/net/quic/quic_flow_controller_test.cc
index fdc236a651b61424d2dceb0f76746515b7aa52f3..275af53e1f1d3f1e31fdceb1bddd94c1bdd04915 100644
--- a/net/quic/quic_flow_controller_test.cc
+++ b/net/quic/quic_flow_controller_test.cc
@@ -167,7 +167,7 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesFastIncreasesFlowWindow) {
connection_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
QuicSentPacketManagerInterface* manager =
- QuicConnectionPeer::GetSentPacketManager(&connection_);
+ QuicConnectionPeer::GetSentPacketManager(&connection_, kDefaultPathId);
RttStats* rtt_stats = const_cast<RttStats*>(manager->GetRttStats());
rtt_stats->UpdateRtt(QuicTime::Delta::FromMilliseconds(kRtt),
@@ -221,7 +221,7 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesFastStatusQuo) {
connection_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
QuicSentPacketManagerInterface* manager =
- QuicConnectionPeer::GetSentPacketManager(&connection_);
+ QuicConnectionPeer::GetSentPacketManager(&connection_, kDefaultPathId);
RttStats* rtt_stats = const_cast<RttStats*>(manager->GetRttStats());
rtt_stats->UpdateRtt(QuicTime::Delta::FromMilliseconds(kRtt),
@@ -275,7 +275,7 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesNormalStableFlowWindow) {
connection_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
QuicSentPacketManagerInterface* manager =
- QuicConnectionPeer::GetSentPacketManager(&connection_);
+ QuicConnectionPeer::GetSentPacketManager(&connection_, kDefaultPathId);
RttStats* rtt_stats = const_cast<RttStats*>(manager->GetRttStats());
rtt_stats->UpdateRtt(QuicTime::Delta::FromMilliseconds(kRtt),
QuicTime::Delta::Zero(), QuicTime::Zero());
@@ -331,7 +331,7 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesNormalStatusQuo) {
connection_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
QuicSentPacketManagerInterface* manager =
- QuicConnectionPeer::GetSentPacketManager(&connection_);
+ QuicConnectionPeer::GetSentPacketManager(&connection_, kDefaultPathId);
RttStats* rtt_stats = const_cast<RttStats*>(manager->GetRttStats());
rtt_stats->UpdateRtt(QuicTime::Delta::FromMilliseconds(kRtt),
QuicTime::Delta::Zero(), QuicTime::Zero());

Powered by Google App Engine
This is Rietveld 408576698