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

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

Issue 11419184: Add public accounts to UserManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed an unnecessary variable. Created 8 years, 1 month 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 f0a49f87ab7736ef17b838b1c472c6ff8f6bbd5d..d957bdd1c9e38f54fedbfed8cc1d4b1943a153fc 100644
--- a/chrome/browser/chromeos/settings/stub_cros_settings_provider.cc
+++ b/chrome/browser/chromeos/settings/stub_cros_settings_provider.cc
@@ -20,6 +20,7 @@ const char* kHandledSettings[] = {
kAccountsPrefShowUserNamesOnSignIn,
kAccountsPrefUsers,
kAccountsPrefEphemeralUsersEnabled,
+ kAccountsPrefDeviceLocalAccounts,
kDeviceOwner,
kPolicyMissingMitigationMode,
kReleaseChannel,
@@ -84,6 +85,7 @@ void StubCrosSettingsProvider::SetDefaults() {
values_.SetBoolean(kAccountsPrefAllowGuest, true);
values_.SetBoolean(kAccountsPrefAllowNewUser, true);
values_.SetBoolean(kAccountsPrefShowUserNamesOnSignIn, true);
+ values_.SetValue(kAccountsPrefDeviceLocalAccounts, new ListValue);
// |kDeviceOwner| will be set to the logged-in user by |UserManager|.
}

Powered by Google App Engine
This is Rietveld 408576698