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

Unified Diff: net/quic/quic_config.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_config.cc
diff --git a/net/quic/quic_config.cc b/net/quic/quic_config.cc
index c68eac980be60f6d28635f3356fbe44d7a830613..4542a04f7477d2e84360a6a6422b84bfcc8d860a 100644
--- a/net/quic/quic_config.cc
+++ b/net/quic/quic_config.cc
@@ -646,9 +646,6 @@ bool QuicConfig::negotiated() {
void QuicConfig::SetDefaults() {
QuicTagVector congestion_feedback;
- if (FLAGS_enable_quic_pacing) {
- congestion_feedback.push_back(kPACE);
- }
congestion_feedback.push_back(kQBIC);
congestion_feedback_.set(congestion_feedback, kQBIC);
idle_connection_state_lifetime_seconds_.set(kDefaultTimeoutSecs,
@@ -665,15 +662,6 @@ void QuicConfig::SetDefaults() {
SetInitialSessionFlowControlWindowToSend(kDefaultFlowControlSendWindow);
}
-void QuicConfig::EnablePacing(bool enable_pacing) {
- QuicTagVector congestion_feedback;
- if (enable_pacing) {
- congestion_feedback.push_back(kPACE);
- }
- congestion_feedback.push_back(kQBIC);
- congestion_feedback_.set(congestion_feedback, kQBIC);
-}
-
void QuicConfig::ToHandshakeMessage(CryptoHandshakeMessage* out) const {
congestion_feedback_.ToHandshakeMessage(out);
idle_connection_state_lifetime_seconds_.ToHandshakeMessage(out);

Powered by Google App Engine
This is Rietveld 408576698