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

Unified Diff: net/quic/quic_stream_factory.cc

Issue 471613002: Change how QUIC negotiates pacing from congestion feedback to QUIC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Add_max_bandwidth_max_bandwidth_timestamp_73055131
Patch Set: Created 6 years, 4 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/quic_stream_factory.cc
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index ea30b2e16e087c9c686e53ac1e0c9b936b17ffe7..6ecb05753ff99b7a507c650a9cb119d24c14bc5e 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -85,12 +85,10 @@ bool IsEcdsaSupported() {
return true;
}
-QuicConfig InitializeQuicConfig(bool enable_pacing,
- bool enable_time_based_loss_detection,
+QuicConfig InitializeQuicConfig(bool enable_time_based_loss_detection,
const QuicTagVector& connection_options) {
QuicConfig config;
config.SetDefaults();
- config.EnablePacing(enable_pacing);
if (enable_time_based_loss_detection)
config.SetLossDetectionToSend(kTIME);
config.set_idle_connection_state_lifetime(
@@ -462,7 +460,6 @@ QuicStreamFactory::QuicStreamFactory(
const std::string& user_agent_id,
const QuicVersionVector& supported_versions,
bool enable_port_selection,
- bool enable_pacing,
bool enable_time_based_loss_detection,
const QuicTagVector& connection_options)
: require_confirmation_(true),
@@ -474,8 +471,7 @@ QuicStreamFactory::QuicStreamFactory(
random_generator_(random_generator),
clock_(clock),
max_packet_length_(max_packet_length),
- config_(InitializeQuicConfig(enable_pacing,
- enable_time_based_loss_detection,
+ config_(InitializeQuicConfig(enable_time_based_loss_detection,
connection_options)),
supported_versions_(supported_versions),
enable_port_selection_(enable_port_selection),

Powered by Google App Engine
This is Rietveld 408576698