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

Side by Side Diff: net/quic/core/quic_flags.h

Issue 2306173003: Add a new QuicFlagSaver class for saving/restoring the values of QUIC flags in tests. (Closed)
Patch Set: Better Created 4 years, 3 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 unified diff | Download patch
« no previous file with comments | « net/quic/core/quic_crypto_server_stream_test.cc ('k') | net/quic/core/quic_flags.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_QUIC_QUIC_FLAGS_H_ 5 #ifndef NET_QUIC_QUIC_FLAGS_H_
6 #define NET_QUIC_QUIC_FLAGS_H_ 6 #define NET_QUIC_QUIC_FLAGS_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
11 11
12 NET_EXPORT_PRIVATE extern bool FLAGS_use_early_return_when_verifying_chlo; 12 #define QUIC_FLAG(type, flag, value) NET_EXPORT_PRIVATE extern type flag;
13 NET_EXPORT_PRIVATE extern bool FLAGS_quic_allow_bbr; 13 #include "net/quic/core/quic_flags_list.h"
14 NET_EXPORT_PRIVATE extern int64_t FLAGS_quic_time_wait_list_seconds; 14 #undef QUIC_FLAG
15 NET_EXPORT_PRIVATE extern int64_t FLAGS_quic_time_wait_list_max_connections;
16 NET_EXPORT_PRIVATE extern bool FLAGS_enable_quic_stateless_reject_support;
17 NET_EXPORT_PRIVATE extern bool FLAGS_quic_always_log_bugs_for_tests;
18 NET_EXPORT_PRIVATE extern bool FLAGS_quic_enable_multipath;
19 NET_EXPORT_PRIVATE extern bool FLAGS_quic_require_handshake_confirmation;
20 NET_EXPORT_PRIVATE extern bool FLAGS_shift_quic_cubic_epoch_when_app_limited;
21 NET_EXPORT_PRIVATE extern bool FLAGS_quic_measure_headers_hol_blocking_time;
22 NET_EXPORT_PRIVATE extern bool FLAGS_quic_disable_pacing_for_perf_tests;
23 NET_EXPORT_PRIVATE extern bool FLAGS_quic_never_write_unencrypted_data;
24 NET_EXPORT_PRIVATE extern bool FLAGS_quic_no_lower_bw_resumption_limit;
25 NET_EXPORT_PRIVATE extern bool FLAGS_quic_loss_recovery_use_largest_acked;
26 NET_EXPORT_PRIVATE extern bool FLAGS_quic_only_one_sending_alarm;
27 NET_EXPORT_PRIVATE extern bool FLAGS_quic_use_old_public_reset_packets;
28 NET_EXPORT_PRIVATE extern bool FLAGS_quic_use_cheap_stateless_rejects;
29 NET_EXPORT_PRIVATE extern bool FLAGS_quic_respect_http2_settings_frame;
30 NET_EXPORT_PRIVATE extern bool FLAGS_quic_enable_version_35;
31 NET_EXPORT_PRIVATE extern bool FLAGS_quic_enable_version_36;
32 NET_EXPORT_PRIVATE extern bool FLAGS_quic_enable_version_36_v2;
33 NET_EXPORT_PRIVATE extern bool FLAGS_enable_async_get_proof;
34 NET_EXPORT_PRIVATE extern bool FLAGS_quic_neuter_unencrypted_when_sending;
35 NET_EXPORT_PRIVATE extern bool FLAGS_quic_change_alarms_efficiently;
36 NET_EXPORT_PRIVATE extern bool FLAGS_quic_require_handshake_confirmation_pre33;
37 NET_EXPORT_PRIVATE extern bool FLAGS_quic_sequencer_buffer_retire_block_in_time;
38 NET_EXPORT_PRIVATE extern bool FLAGS_quic_remove_obsolete_forward_secure;
39 NET_EXPORT_PRIVATE extern bool FLAGS_quic_close_connection_on_packet_too_large;
40 NET_EXPORT_PRIVATE extern bool
41 FLAGS_quic_close_stream_after_writing_queued_data;
42 NET_EXPORT_PRIVATE extern bool FLAGS_quic_limit_frame_gaps_in_buffer;
43 NET_EXPORT_PRIVATE extern bool FLAGS_quic_remove_v33_hacks;
44 NET_EXPORT_PRIVATE extern bool FLAGS_quic_use_chlo_packet_size;
45 NET_EXPORT_PRIVATE extern bool FLAGS_quic_buffer_packet_till_chlo;
46 NET_EXPORT_PRIVATE extern bool FLAGS_quic_enable_app_limited_check;
47 NET_EXPORT_PRIVATE extern bool FLAGS_quic_simple_packet_number_length_2;
48 NET_EXPORT_PRIVATE extern bool FLAGS_quic_disable_pre_32;
49 NET_EXPORT_PRIVATE extern bool FLAGS_quic_enforce_mtu_limit;
50 NET_EXPORT_PRIVATE extern bool FLAGS_graceful_emsgsize_on_mtu_probe;
51 NET_EXPORT_PRIVATE extern bool FLAGS_quic_do_not_send_ack_on_emsgsize;
52 NET_EXPORT_PRIVATE extern bool FLAGS_quic_postpone_multipath_flag_validation;
53 NET_EXPORT_PRIVATE extern bool FLAGS_quic_better_last_send_for_timeout;
54 15
55 #endif // NET_QUIC_QUIC_FLAGS_H_ 16 #endif // NET_QUIC_QUIC_FLAGS_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_crypto_server_stream_test.cc ('k') | net/quic/core/quic_flags.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698