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

Unified Diff: net/quic/congestion_control/send_algorithm_interface.cc

Issue 1003863006: Rollback of merge internal change: 87346681. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Make_SentPacketManager_remove_pending_88507368
Patch Set: Created 5 years, 9 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 | « no previous file | net/quic/congestion_control/tcp_cubic_bytes_sender.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/congestion_control/send_algorithm_interface.cc
diff --git a/net/quic/congestion_control/send_algorithm_interface.cc b/net/quic/congestion_control/send_algorithm_interface.cc
index 46ba32373b3defe18bcf21a8181303a9e0af5ff7..e96d74828ecf54c38384708ec73151776a07c78f 100644
--- a/net/quic/congestion_control/send_algorithm_interface.cc
+++ b/net/quic/congestion_control/send_algorithm_interface.cc
@@ -22,22 +22,25 @@ SendAlgorithmInterface* SendAlgorithmInterface::Create(
switch (congestion_control_type) {
case kCubic:
return new TcpCubicSender(clock, rtt_stats, false /* don't use Reno */,
- initial_congestion_window, stats);
+ initial_congestion_window,
+ kMaxTcpCongestionWindow, stats);
case kCubicBytes:
- return new TcpCubicBytesSender(clock, rtt_stats,
- false /* don't use Reno */,
- initial_congestion_window, stats);
+ return new TcpCubicBytesSender(
+ clock, rtt_stats, false /* don't use Reno */,
+ initial_congestion_window, kMaxTcpCongestionWindow, stats);
case kReno:
return new TcpCubicSender(clock, rtt_stats, true /* use Reno */,
- initial_congestion_window, stats);
+ initial_congestion_window,
+ kMaxTcpCongestionWindow, stats);
case kRenoBytes:
return new TcpCubicBytesSender(clock, rtt_stats, true /* use Reno */,
- initial_congestion_window, stats);
+ initial_congestion_window,
+ kMaxTcpCongestionWindow, stats);
case kBBR:
// TODO(rtenneti): Enable BbrTcpSender.
#if 0
return new BbrTcpSender(clock, rtt_stats, initial_congestion_window,
- stats);
+ kMaxTcpCongestionWindow, stats);
#endif
LOG(DFATAL) << "BbrTcpSender is not supported.";
return nullptr;
« no previous file with comments | « no previous file | net/quic/congestion_control/tcp_cubic_bytes_sender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698