Provide default implementation for quiche_flag_utils PiperOrigin-RevId: 424723689
diff --git a/common/platform/api/quiche_flag_utils.h b/common/platform/api/quiche_flag_utils.h index 0534064..fcd6623 100644 --- a/common/platform/api/quiche_flag_utils.h +++ b/common/platform/api/quiche_flag_utils.h
@@ -5,7 +5,7 @@ #ifndef QUICHE_COMMON_PLATFORM_API_QUICHE_FLAG_UTILS_H_ #define QUICHE_COMMON_PLATFORM_API_QUICHE_FLAG_UTILS_H_ -#include "net/quiche/common/platform/impl/quiche_flag_utils_impl.h" +#include "quiche_platform_impl/quiche_flag_utils_impl.h" #define QUICHE_RELOADABLE_FLAG_COUNT QUICHE_RELOADABLE_FLAG_COUNT_IMPL #define QUICHE_RELOADABLE_FLAG_COUNT_N QUICHE_RELOADABLE_FLAG_COUNT_N_IMPL
diff --git a/common/platform/default/quiche_platform_impl/quiche_flag_utils_impl.h b/common/platform/default/quiche_platform_impl/quiche_flag_utils_impl.h new file mode 100644 index 0000000..c38f75c --- /dev/null +++ b/common/platform/default/quiche_platform_impl/quiche_flag_utils_impl.h
@@ -0,0 +1,29 @@ +// Copyright 2022 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_FLAG_UTILS_IMPL_H_ +#define QUICHE_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_FLAG_UTILS_IMPL_H_ + +#define QUICHE_RELOADABLE_FLAG_COUNT_IMPL(flag) \ + do { \ + } while (0) +#define QUICHE_RELOADABLE_FLAG_COUNT_N_IMPL(flag, instance, total) \ + do { \ + } while (0) + +#define QUICHE_RESTART_FLAG_COUNT_IMPL(flag) \ + do { \ + } while (0) +#define QUICHE_RESTART_FLAG_COUNT_N_IMPL(flag, instance, total) \ + do { \ + } while (0) + +#define QUICHE_CODE_COUNT_IMPL(name) \ + do { \ + } while (0) +#define QUICHE_CODE_COUNT_N_IMPL(name, instance, total) \ + do { \ + } while (0) + +#endif // QUICHE_COMMON_PLATFORM_DEFAULT_QUICHE_PLATFORM_IMPL_QUICHE_FLAG_UTILS_IMPL_H_