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

Unified Diff: net/quic/core/quic_sent_packet_manager.cc

Issue 2560873003: Deprecate FLAGS_quic_default_enable_cubic_bytes (Closed)
Patch Set: Created 4 years 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/core/quic_flags_list.h ('k') | net/quic/core/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/core/quic_sent_packet_manager.cc
diff --git a/net/quic/core/quic_sent_packet_manager.cc b/net/quic/core/quic_sent_packet_manager.cc
index ce4ca59e516e9f3898f064e2b79f28115c8c33e3..022ce3eccc5687843b0052b6e70234721cfe0fbd 100644
--- a/net/quic/core/quic_sent_packet_manager.cc
+++ b/net/quic/core/quic_sent_packet_manager.cc
@@ -123,11 +123,7 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) {
}
} else if (config.HasClientRequestedIndependentOption(kBYTE,
perspective_)) {
- if (FLAGS_quic_default_enable_cubic_bytes) {
- SetSendAlgorithm(kCubic);
- } else {
- SetSendAlgorithm(kCubicBytes);
- }
+ SetSendAlgorithm(kCubic);
}
} else {
if (FLAGS_quic_allow_new_bbr && config.HasReceivedConnectionOptions() &&
@@ -143,11 +139,7 @@ void QuicSentPacketManager::SetFromConfig(const QuicConfig& config) {
}
} else if (config.HasReceivedConnectionOptions() &&
ContainsQuicTag(config.ReceivedConnectionOptions(), kBYTE)) {
- if (FLAGS_quic_default_enable_cubic_bytes) {
- SetSendAlgorithm(kCubic);
- } else {
- SetSendAlgorithm(kCubicBytes);
- }
+ SetSendAlgorithm(kCubic);
}
}
using_pacing_ = !FLAGS_quic_disable_pacing_for_perf_tests;
« no previous file with comments | « net/quic/core/quic_flags_list.h ('k') | net/quic/core/quic_sent_packet_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698