• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2020 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.
4 
5 #ifndef QUICHE_COMMON_PLATFORM_API_QUICHE_FLAGS_H_
6 #define QUICHE_COMMON_PLATFORM_API_QUICHE_FLAGS_H_
7 
8 #include "quiche_platform_impl/quiche_flags_impl.h"
9 
10 // Flags accessed via GetQuicheReloadableFlag/GetQuicheRestartFlag are temporary
11 // boolean flags that are used to enable or disable code behavior changes.  The
12 // current list is available in the quiche/quic/core/quic_flags_list.h file.
13 #define GetQuicheReloadableFlag(module, flag) \
14   GetQuicheReloadableFlagImpl(module, flag)
15 #define SetQuicheReloadableFlag(module, flag, value) \
16   SetQuicheReloadableFlagImpl(module, flag, value)
17 #define GetQuicheRestartFlag(module, flag) \
18   GetQuicheRestartFlagImpl(module, flag)
19 #define SetQuicheRestartFlag(module, flag, value) \
20   SetQuicheRestartFlagImpl(module, flag, value)
21 
22 // Flags accessed via GetQuicheFlag are permanent flags used to control QUICHE
23 // library behavior.  The current list is available in the
24 // quiche/quic/core/quic_protocol_flags_list.h file.
25 #define GetQuicheFlag(flag) GetQuicheFlagImpl(flag)
26 #define SetQuicheFlag(flag, value) SetQuicheFlagImpl(flag, value)
27 
28 #endif  // QUICHE_COMMON_PLATFORM_API_QUICHE_FLAGS_H_
29