Lines Matching refs:SetPref
68 void SetPref(const std::string& pref_name, const base::Value* value) {
107 TEST_F(CrosSettingsTest, SetPref) {
110 SetPref(kAccountsPrefAllowGuest, expected_props_[kAccountsPrefAllowGuest]);
128 SetPref(kAccountsPrefUsers, &whitelist);
154 SetPref(kAccountsPrefUsers, &whitelist);
170 SetPref(kAccountsPrefUsers, &whitelist);
182 SetPref(kAccountsPrefUsers, &whitelist);
183 SetPref(kAccountsPrefAllowNewUser, &disallow_new);
195 SetPref(kAccountsPrefUsers, &whitelist);
196 SetPref(kAccountsPrefAllowNewUser,
205 SetPref(kAccountsPrefAllowNewUser,
214 SetPref(kAccountsPrefEphemeralUsersEnabled, &ephemeral_users_enabled);