#include "components/optimization_guide/core/model_execution/model_execution_features.h"
#include "base/containers/contains.h"
#include "base/feature_list.h"
#include "base/metrics/field_trial_params.h"
#include "base/notreached.h"
#include "components/optimization_guide/core/model_execution/feature_keys.h"
#include "components/optimization_guide/core/optimization_guide_features.h"
namespace optimization_guide {
namespace features {
namespace internal {
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
const base::FeatureParam<std::string> kPerformanceClassListForHistorySearch(
&kHistorySearchSettingsVisibility,
"PerformanceClassListForHistorySearch",
"*");
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
BASE_FEATURE(…);
bool IsGraduatedFeature(UserVisibleFeatureKey feature) { … }
const base::Feature* GetFeatureToUseToCheckSettingsVisibility(
UserVisibleFeatureKey feature) { … }
base::flat_set<UserVisibleFeatureKey> GetAllowedFeaturesForUnsignedUser() { … }
bool ShouldEnableFeatureWhenMainToggleOn(UserVisibleFeatureKey feature) { … }
bool IsOnDeviceModelEnabled(ModelBasedCapabilityKey feature) { … }
bool IsOnDeviceModelAdaptationEnabled(ModelBasedCapabilityKey feature) { … }
proto::OptimizationTarget GetOptimizationTargetForModelAdaptation(
ModelBasedCapabilityKey feature_key) { … }
}
}
}