#include "extensions/common/features/feature_flags.h"
#include <algorithm>
#include "base/check.h"
#include "base/compiler_specific.h"
#include "base/feature_list.h"
#include "base/ranges/algorithm.h"
#include "extensions/common/extension_features.h"
namespace extensions {
namespace {
const base::Feature* kFeatureFlags[] = …;
constinit base::span<const base::Feature*> g_feature_flags_test_override;
const base::Feature* GetFeature(const std::string& feature_flag) { … }
}
bool IsFeatureFlagEnabled(const std::string& feature_flag) { … }
ScopedFeatureFlagsOverride CreateScopedFeatureFlagsOverrideForTesting(
base::span<const base::Feature*> features) { … }
}