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

Unified Diff: net/quic/quic_sent_packet_manager.cc

Issue 694383002: Tiny refactor of QuicSentPacketManager::NetworkChangeVisitor's (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Change_number_of_emulated_connections_78876869
Patch Set: Created 6 years, 1 month 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_sent_packet_manager.h ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_sent_packet_manager.cc
diff --git a/net/quic/quic_sent_packet_manager.cc b/net/quic/quic_sent_packet_manager.cc
index a6749ec65ba48e1f97d072ece29e50575c32b437..26bf363dd3d3ad4259a735b90cd32aa33e6b24e0 100644
--- a/net/quic/quic_sent_packet_manager.cc
+++ b/net/quic/quic_sent_packet_manager.cc
@@ -144,7 +144,7 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) {
send_algorithm_->SetFromConfig(config, is_server_);
if (network_change_visitor_ != nullptr) {
- network_change_visitor_->OnCongestionWindowChange(GetCongestionWindow());
+ network_change_visitor_->OnCongestionWindowChange();
}
}
@@ -237,7 +237,7 @@ void QuicSentPacketManager::MaybeInvokeCongestionEvent(
packets_acked_.clear();
packets_lost_.clear();
if (network_change_visitor_ != nullptr) {
- network_change_visitor_->OnCongestionWindowChange(GetCongestionWindow());
+ network_change_visitor_->OnCongestionWindowChange();
}
}
@@ -662,7 +662,7 @@ void QuicSentPacketManager::RetransmitAllPackets() {
}
if (network_change_visitor_ != nullptr) {
- network_change_visitor_->OnCongestionWindowChange(GetCongestionWindow());
+ network_change_visitor_->OnCongestionWindowChange();
}
}
« no previous file with comments | « net/quic/quic_sent_packet_manager.h ('k') | net/quic/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698