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

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

Issue 2359503003: Landing Recent QUIC changes until 9:58 AM, Sep 17, 2016 UTC (Closed)
Patch Set: Reverted flag flip. Created 4 years, 3 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/core/congestion_control/send_algorithm_interface.cc
diff --git a/net/quic/core/congestion_control/send_algorithm_interface.cc b/net/quic/core/congestion_control/send_algorithm_interface.cc
index a0daace8315cb741a7717a731b57bab1e5dfcfba..2f6f3386d092bb22417761d1fc37a8fc331611ca 100644
--- a/net/quic/core/congestion_control/send_algorithm_interface.cc
+++ b/net/quic/core/congestion_control/send_algorithm_interface.cc
@@ -22,6 +22,7 @@ SendAlgorithmInterface* SendAlgorithmInterface::Create(
QuicPacketCount initial_congestion_window) {
QuicPacketCount max_congestion_window = kDefaultMaxCongestionWindowPackets;
switch (congestion_control_type) {
+ case kBBR:
case kCubic:
return new TcpCubicSenderPackets(
clock, rtt_stats, false /* don't use Reno */,
@@ -38,14 +39,6 @@ SendAlgorithmInterface* SendAlgorithmInterface::Create(
return new TcpCubicSenderBytes(clock, rtt_stats, true /* use Reno */,
initial_congestion_window,
max_congestion_window, stats);
- case kBBR:
-// TODO(rtenneti): Enable BbrTcpSender.
-#if 0
- return new BbrTcpSender(clock, rtt_stats, initial_congestion_window,
- max_congestion_window, stats, true);
-#endif
- LOG(DFATAL) << "BbrTcpSender is not supported.";
- return nullptr;
}
return nullptr;
}
« no previous file with comments | « net/quic/core/congestion_control/cubic_test.cc ('k') | net/quic/core/congestion_control/tcp_cubic_sender_bytes_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698