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

Unified Diff: net/quic/quic_flow_controller_test.cc

Issue 2002083002: Add QuicSentPacketManagerInterface, and QuicSentPacketManager implements it. No functional change e… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/quic_connection_test.cc ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f2f6117aa6eb11890783a7f972cfdbed921af6be..fdc236a651b61424d2dceb0f76746515b7aa52f3 100644
--- a/net/quic/quic_flow_controller_test.cc
+++ b/net/quic/quic_flow_controller_test.cc
@@ -166,7 +166,7 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesFastIncreasesFlowWindow) {
// Make sure clock is inititialized.
connection_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
- QuicSentPacketManager* manager =
+ QuicSentPacketManagerInterface* manager =
QuicConnectionPeer::GetSentPacketManager(&connection_);
RttStats* rtt_stats = const_cast<RttStats*>(manager->GetRttStats());
@@ -220,7 +220,7 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesFastStatusQuo) {
// Make sure clock is inititialized.
connection_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
- QuicSentPacketManager* manager =
+ QuicSentPacketManagerInterface* manager =
QuicConnectionPeer::GetSentPacketManager(&connection_);
RttStats* rtt_stats = const_cast<RttStats*>(manager->GetRttStats());
@@ -274,7 +274,7 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesNormalStableFlowWindow) {
// Make sure clock is inititialized.
connection_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
- QuicSentPacketManager* manager =
+ QuicSentPacketManagerInterface* manager =
QuicConnectionPeer::GetSentPacketManager(&connection_);
RttStats* rtt_stats = const_cast<RttStats*>(manager->GetRttStats());
rtt_stats->UpdateRtt(QuicTime::Delta::FromMilliseconds(kRtt),
@@ -330,7 +330,7 @@ TEST_F(QuicFlowControllerTest, ReceivingBytesNormalStatusQuo) {
// Make sure clock is inititialized.
connection_.AdvanceTime(QuicTime::Delta::FromMilliseconds(1));
- QuicSentPacketManager* manager =
+ QuicSentPacketManagerInterface* manager =
QuicConnectionPeer::GetSentPacketManager(&connection_);
RttStats* rtt_stats = const_cast<RttStats*>(manager->GetRttStats());
rtt_stats->UpdateRtt(QuicTime::Delta::FromMilliseconds(kRtt),
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_protocol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698