// Copyright 2017 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/40285824): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "components/feature_engagement/public/feature_list.h" #include "build/build_config.h" #include "components/feature_engagement/public/feature_constants.h" namespace feature_engagement { namespace { // Whenever a feature is added to |kAllFeatures|, it should also be added as // DEFINE_VARIATION_PARAM in the header, and also added to the // |kIPHDemoModeChoiceVariations| array. const base::Feature* const kAllFeatures[] = …; } // namespace const char kIPHDemoModeFeatureChoiceParam[] = …; std::vector<const base::Feature*> GetAllFeatures() { … } } // namespace feature_engagement