Lines Matching full:feature
15 struct Feature;
37 // the specified |feature|. A feature is associated with at most one field
39 // features. If the feature is not enabled, or if there's no associated params,
44 const base::Feature& feature,
57 // field trial associated with the specified |feature|. A feature is associated
59 // more information on features. If the feature is not enabled, or the
64 const base::Feature& feature,
71 BASE_EXPORT int GetFieldTrialParamByFeatureAsInt(const base::Feature& feature,
80 const base::Feature& feature,
90 const base::Feature& feature,
118 // If the feature is not set, or set to the empty string, then Get() will return
122 constexpr FeatureParam(const Feature* feature,
125 : feature(feature), name(name), default_value(default_value) {}
129 const Feature* const feature;
139 // If the feature is not set, or set to an invalid double value, then Get() will
143 constexpr FeatureParam(const Feature* feature,
146 : feature(feature), name(name), default_value(default_value) {}
150 const Feature* const feature;
160 // If the feature is not set, or set to an invalid int value, then Get() will
164 constexpr FeatureParam(const Feature* feature,
167 : feature(feature), name(name), default_value(default_value) {}
171 const Feature* const feature;
181 // If the feature is not set, or set to value other than "true" or "false", then
185 constexpr FeatureParam(const Feature* feature,
188 : feature(feature), name(name), default_value(default_value) {}
192 const Feature* const feature;
197 BASE_EXPORT void LogInvalidEnumValue(const Feature& feature,
202 // Feature param declaration for an enum, with associated options. Example:
225 constexpr FeatureParam(const Feature* feature,
229 : feature(feature),
238 std::string value = GetFieldTrialParamValueByFeature(*feature, name);
245 LogInvalidEnumValue(*feature, name, value, static_cast<int>(default_value));
249 const base::Feature* const feature;