Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1266)

Unified Diff: chrome/browser/chromeos/settings/stub_cros_settings_provider.cc

Issue 228553002: Preference dis/allowing supervised users creation is now available as owner setting, not only as de… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Unnecessary callback removed. Patch applied for failing tests. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/settings/stub_cros_settings_provider.cc
diff --git a/chrome/browser/chromeos/settings/stub_cros_settings_provider.cc b/chrome/browser/chromeos/settings/stub_cros_settings_provider.cc
index e6d62264eb2c485891f30ac4264bc8ae9c491bf0..0202da7f4adff2b1fd73d9cb124d44715b32aea0 100644
--- a/chrome/browser/chromeos/settings/stub_cros_settings_provider.cc
+++ b/chrome/browser/chromeos/settings/stub_cros_settings_provider.cc
@@ -55,6 +55,7 @@ void StubCrosSettingsProvider::DoSet(const std::string& path,
void StubCrosSettingsProvider::SetDefaults() {
values_.SetBoolean(kAccountsPrefAllowGuest, true);
values_.SetBoolean(kAccountsPrefAllowNewUser, true);
+ values_.SetBoolean(kAccountsPrefSupervisedUsersEnabled, true);
values_.SetBoolean(kAccountsPrefShowUserNamesOnSignIn, true);
values_.SetValue(kAccountsPrefDeviceLocalAccounts, new base::ListValue);
// |kDeviceOwner| will be set to the logged-in user by |UserManager|.

Powered by Google App Engine
This is Rietveld 408576698