#include "chrome/browser/performance_manager/public/user_tuning/memory_saver_policy_handler.h"
#include "components/performance_manager/public/user_tuning/prefs.h"
#include "components/policy/core/browser/configuration_policy_pref_store.h"
#include "components/policy/core/browser/configuration_policy_pref_store_test.h"
#include "components/policy/policy_constants.h"
namespace performance_manager {
class MemorySaverPolicyHandlerTest
: public policy::ConfigurationPolicyPrefStoreTest { … };
TEST_F(MemorySaverPolicyHandlerTest, PolicyNotSet) { … }
TEST_F(MemorySaverPolicyHandlerTest, PolicySetToFalseSetsPrefToDisabled) { … }
TEST_F(MemorySaverPolicyHandlerTest, PolicySetToTrueSetsPrefToEnabledOnTimer) { … }
}