Revert of Clean up Smart Lock cryptohome keys logic: (patchset #5 id:80001 of https...
[chromium-blink-merge.git] / net / quic / quic_flags.cc
blobb395eacdc14ca2455f62e7669ca778e521ded375
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "net/quic/quic_flags.h"
7 // TODO(rtenneti): Remove this.
8 // Do not flip this flag until the flakiness of the
9 // net/tools/quic/end_to_end_test is fixed.
10 // If true, then QUIC connections will track the retransmission history of a
11 // packet so that an ack of a previous transmission will ack the data of all
12 // other transmissions.
13 bool FLAGS_track_retransmission_history = false;
15 bool FLAGS_quic_allow_oversized_packets_for_test = false;
17 // When true, the use time based loss detection instead of nack.
18 bool FLAGS_quic_use_time_loss_detection = false;
20 // If true, it will return as soon as an error is detected while validating
21 // CHLO.
22 bool FLAGS_use_early_return_when_verifying_chlo = true;
24 // If true, QUIC crypto reject message will include the reasons for rejection.
25 bool FLAGS_send_quic_crypto_reject_reason = false;
27 // If true, QUIC connections will support FEC protection of data while sending
28 // packets, to reduce latency of data delivery to the application. The client
29 // must also request FEC protection for the server to use FEC.
30 bool FLAGS_enable_quic_fec = false;
32 // When true, defaults to BBR congestion control instead of Cubic.
33 bool FLAGS_quic_use_bbr_congestion_control = false;
35 // If true, QUIC BBR congestion control may be enabled via Finch and/or via QUIC
36 // connection options.
37 bool FLAGS_quic_allow_bbr = false;
39 // If true, truncate QUIC connection IDs if the client requests it.
40 bool FLAGS_allow_truncated_connection_ids_for_quic = false;
42 // Do not flip this flag. jokulik plans more testing and additional monitoring
43 // before the flag can go the auto-flip process.
45 // If true, record the timestamp for the last sent new packet before the call to
46 // WritePacket, rather than after in QUIC.
47 bool FLAGS_quic_record_send_time_before_write = false;
49 // If true, enables the QUIC bandwidth resumption experiment (triggered by
50 // Chrome/Finch).
51 bool FLAGS_quic_enable_bandwidth_resumption_experiment = true;
53 // If true, QUIC congestion control will be paced. If false, pacing may be
54 // controlled by QUIC connection options in the config or by enabling BBR
55 // congestion control.
56 bool FLAGS_quic_enable_pacing = false;
58 // If true, the silent close option will be honored.
59 bool FLAGS_quic_allow_silent_close = true;
61 // If true, use std::cbrt instead of custom cube root.
62 bool FLAGS_quic_use_std_cbrt = true;
64 // If true, the QUIC packet generator will not attempt to queue multiple ACK
65 // frames.
66 bool FLAGS_quic_disallow_multiple_pending_ack_frames = true;
68 // If true, then the source address tokens generated for QUIC connects will
69 // store multiple addresses.
70 bool FLAGS_quic_use_multiple_address_in_source_tokens = false;