chromium/net/third_party/quiche/src/quiche/common/platform/default/quiche_platform_impl/quiche_flags_impl.h

// Copyright 2020 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef QUICHE_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_FLAGS_IMPL_H_
#define QUICHE_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_FLAGS_IMPL_H_

#include <cstdint>
#include <map>
#include <memory>
#include <string>
#include <vector>

#include "quiche/common/platform/api/quiche_export.h"

#define QUICHE_FLAG
#include "quiche/common/quiche_feature_flags_list.h"
#undef QUICHE_FLAG

// Protocol flags.
#define QUICHE_PROTOCOL_FLAG
#include "quiche/common/quiche_protocol_flags_list.h"
#undef QUICHE_PROTOCOL_FLAG

#define GetQuicheFlagImpl(flag)
inline bool GetQuicheFlagImplImpl(bool flag) {}
inline int32_t GetQuicheFlagImplImpl(int32_t flag) {}
inline int64_t GetQuicheFlagImplImpl(int64_t flag) {}
inline uint32_t GetQuicheFlagImplImpl(uint32_t flag) {}
inline uint64_t GetQuicheFlagImplImpl(uint64_t flag) {}
inline double GetQuicheFlagImplImpl(double flag) {}
inline std::string GetQuicheFlagImplImpl(const std::string& flag) {}
#define SetQuicheFlagImpl(flag, value)

// ------------------------------------------------------------------------
// QUICHE feature flags implementation.
// ------------------------------------------------------------------------
#define QUICHE_RELOADABLE_FLAG(flag)
#define QUICHE_RESTART_FLAG(flag)
#define GetQuicheReloadableFlagImpl(flag)
#define SetQuicheReloadableFlagImpl(flag, value)
#define GetQuicheRestartFlagImpl(flag)
#define SetQuicheRestartFlagImpl(flag, value)

#endif  // QUICHE_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_FLAGS_IMPL_H_