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

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

Issue 2445983003: Default enable QUIC's Cubic in bytes congestion control implementation. Protected by ENABLED FLAGS… (Closed)
Patch Set: Updated patchset dependency Created 4 years, 2 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/core/quic_flags_list.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_connection.cc
diff --git a/net/quic/core/quic_connection.cc b/net/quic/core/quic_connection.cc
index 6fe21cf33f6a76093dfe9f94f58e0e909d943b1f..41ca54bcb3b7b6e59bf7236833e7913947035cbb 100644
--- a/net/quic/core/quic_connection.cc
+++ b/net/quic/core/quic_connection.cc
@@ -265,13 +265,14 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id,
time_of_last_sent_new_packet_(clock_->ApproximateNow()),
last_send_for_timeout_(clock_->ApproximateNow()),
packet_number_of_last_sent_packet_(0),
- sent_packet_manager_(new QuicSentPacketManager(perspective,
- kDefaultPathId,
- clock_,
- &stats_,
- kCubic,
- kNack,
- /*delegate=*/nullptr)),
+ sent_packet_manager_(new QuicSentPacketManager(
+ perspective,
+ kDefaultPathId,
+ clock_,
+ &stats_,
+ FLAGS_quic_default_enable_cubic_bytes ? kCubicBytes : kCubic,
+ kNack,
+ /*delegate=*/nullptr)),
version_negotiation_state_(START_NEGOTIATION),
perspective_(perspective),
connected_(true),
« no previous file with comments | « no previous file | net/quic/core/quic_flags_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698