#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "components/flags_ui/feature_entry.h"
#include "base/check_op.h"
#include "base/logging.h"
#include "base/notreached.h"
#include "base/strings/strcat.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "ui/base/l10n/l10n_util.h"
namespace flags_ui {
const char kMultiSeparatorChar = …;
const char kGenericExperimentChoiceDefault[] = …;
const char kGenericExperimentChoiceEnabled[] = …;
const char kGenericExperimentChoiceDisabled[] = …;
const char kGenericExperimentChoiceAutomatic[] = …;
bool FeatureEntry::InternalNameMatches(const std::string& name) const { … }
int FeatureEntry::NumOptions() const { … }
std::string FeatureEntry::NameForOption(int index) const { … }
std::u16string FeatureEntry::DescriptionForOption(int index) const { … }
const FeatureEntry::Choice& FeatureEntry::ChoiceForOption(int index) const { … }
FeatureEntry::FeatureState FeatureEntry::StateForOption(int index) const { … }
const FeatureEntry::FeatureVariation* FeatureEntry::VariationForOption(
int index) const { … }
bool FeatureEntry::IsValid() const { … }
const base::span<const FeatureEntry::FeatureVariation>
FeatureEntry::GetVariations() const { … }
namespace testing {
const char kMultiSeparator[] = …;
}
}