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

Unified Diff: net/quic/quic_connection.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_connection.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/quic_connection.cc
diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
index 9c9379c624376c66e6222d50c8cbc16ae25039e7..21ea41a99410f3a8efbf9384910e0cd87b46af6f 100644
--- a/net/quic/quic_connection.cc
+++ b/net/quic/quic_connection.cc
@@ -1584,8 +1584,9 @@ void QuicConnection::OnSerializedPacket(
SendOrQueuePacket(QueuedPacket(serialized_packet, encryption_level_));
}
-void QuicConnection::OnCongestionWindowChange(QuicByteCount congestion_window) {
- packet_generator_.OnCongestionWindowChange(congestion_window);
+void QuicConnection::OnCongestionWindowChange() {
+ packet_generator_.OnCongestionWindowChange(
+ sent_packet_manager_.GetCongestionWindow());
visitor_->OnCongestionWindowChange(clock_->ApproximateNow());
}
« no previous file with comments | « net/quic/quic_connection.h ('k') | net/quic/quic_connection_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698