Index: chrome/browser/chromeos/cros_settings_provider_user.cc |
diff --git a/chrome/browser/chromeos/cros_settings_provider_user.cc b/chrome/browser/chromeos/cros_settings_provider_user.cc |
index 3304648370a7d07b1299c0a0ebc9fd5be8470ece..8305e137844e2963417989b251894fd17e4f6e62 100644 |
--- a/chrome/browser/chromeos/cros_settings_provider_user.cc |
+++ b/chrome/browser/chromeos/cros_settings_provider_user.cc |
@@ -13,15 +13,20 @@ UserCrosSettingsProvider::UserCrosSettingsProvider() |
: dict_(new DictionaryValue) { |
Set(kAccountsPrefAllowBWSI, Value::CreateBooleanValue(true)); |
Set(kAccountsPrefAllowGuest, Value::CreateBooleanValue(true)); |
+ Set(kAccountsPrefShowUserNamesOnSignIn, Value::CreateBooleanValue(true)); |
ListValue* user_list = new ListValue; |
DictionaryValue* mock_user = new DictionaryValue; |
mock_user->SetString(L"email", L"mock_user_1@gmail.com"); |
+ mock_user->SetString(L"name", L"Mock User One"); |
+ mock_user->SetBoolean(L"owner", true); |
user_list->Append(mock_user); |
mock_user = new DictionaryValue; |
mock_user->SetString(L"email", L"mock_user_2@gmail.com"); |
+ mock_user->SetString(L"name", L"Mock User Two"); |
+ mock_user->SetBoolean(L"owner", false); |
user_list->Append(mock_user); |
Set(kAccountsPrefUsers, user_list); |