| Index: chrome/browser/chromeos/login/login_utils.cc
|
| diff --git a/chrome/browser/chromeos/login/login_utils.cc b/chrome/browser/chromeos/login/login_utils.cc
|
| index b67175f647cd528fe04a7f6c1aa6f2d0b5c70ae0..792b107dbd834c178748f942c9de0c232ce8f1d3 100644
|
| --- a/chrome/browser/chromeos/login/login_utils.cc
|
| +++ b/chrome/browser/chromeos/login/login_utils.cc
|
| @@ -465,7 +465,7 @@ void LoginUtilsImpl::InitProfilePreferences(Profile* user_profile,
|
|
|
| user_profile->GetPrefs()->SetString(prefs::kManagedUserId,
|
| managed_user_sync_id);
|
| - } else {
|
| + } else if (UserManager::Get()->IsLoggedInAsRegularUser()) {
|
| // Make sure that the google service username is properly set (we do this
|
| // on every sign in, not just the first login, to deal with existing
|
| // profiles that might not have it set yet).
|
|
|