// Copyright 2015 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_FLAGS_UI_FEATURE_ENTRY_H_ #define COMPONENTS_FLAGS_UI_FEATURE_ENTRY_H_ #include <string> #include "base/containers/span.h" #include "base/feature_list.h" #include "base/memory/raw_ptr_exclusion.h" #include "build/chromeos_buildflags.h" namespace flags_ui { extern const char kMultiSeparatorChar; // Generic experiment choice option names. extern const char kGenericExperimentChoiceDefault[]; extern const char kGenericExperimentChoiceEnabled[]; extern const char kGenericExperimentChoiceDisabled[]; extern const char kGenericExperimentChoiceAutomatic[]; // FeatureEntry is used to describe an experimental feature. // // Note that features should eventually be either turned on by default with no // about_flags entries or deleted. Most feature entries should only be around // for a few milestones, until their full launch. struct FeatureEntry { … }; namespace testing { // Separator used for multi values. Multi values are represented in prefs as // name-of-experiment + kMultiSeparator + selected_index. extern const char kMultiSeparator[]; } // namespace testing } // namespace flags_ui #endif // COMPONENTS_FLAGS_UI_FEATURE_ENTRY_H_