#include "components/optimization_guide/core/model_execution/model_execution_prefs.h"
#include "base/notreached.h"
#include "components/optimization_guide/core/feature_registry/enterprise_policy_registry.h"
#include "components/optimization_guide/core/feature_registry/feature_registration.h"
#include "components/optimization_guide/core/model_execution/feature_keys.h"
#include "components/optimization_guide/core/optimization_guide_features.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"
namespace optimization_guide::model_execution::prefs {
void RegisterProfilePrefs(PrefRegistrySimple* registry) { … }
namespace localstate {
const char kOnDeviceModelChromeVersion[] = …;
const char kOnDeviceModelCrashCount[] = …;
const char kOnDeviceModelTimeoutCount[] = …;
const char kOnDeviceModelValidationResult[] = …;
const char kOnDevicePerformanceClass[] = …;
const char kLastTimeComposeWasUsed[] = …;
const char kLastTimePromptApiWasUsed[] = …;
const char kLastTimeSummarizeApiWasUsed[] = …;
const char kLastTimeTestFeatureWasUsed[] = …;
const char kLastTimeHistorySearchWasUsed[] = …;
const char kLastTimeEligibleForOnDeviceModelDownload[] = …;
const char kModelQualityLogggingClientId[] = …;
const char kGenAILocalFoundationalModelEnterprisePolicySettings[] = …;
}
void RegisterLocalStatePrefs(PrefRegistrySimple* registry) { … }
const char* GetOnDeviceFeatureRecentlyUsedPref(
ModelBasedCapabilityKey feature) { … }
}