Index: chrome/browser/chromeos/login/fake_login_utils.cc |
diff --git a/chrome/browser/chromeos/login/fake_login_utils.cc b/chrome/browser/chromeos/login/fake_login_utils.cc |
index ad8d0453681a95ba4fee0592c88ad8f97541cccd..ffb8cffe19f6655aad75a3005d4e4f426c4cd79f 100644 |
--- a/chrome/browser/chromeos/login/fake_login_utils.cc |
+++ b/chrome/browser/chromeos/login/fake_login_utils.cc |
@@ -69,13 +69,13 @@ void FakeLoginUtils::PrepareProfile(const UserContext& user_context, |
if (UserManager::Get()->IsLoggedInAsLocallyManagedUser()) { |
User* active_user = UserManager::Get()->GetActiveUser(); |
- std::string managed_user_sync_id = |
+ std::string supervised_user_sync_id = |
UserManager::Get()->GetSupervisedUserManager()-> |
GetUserSyncId(active_user->email()); |
- if (managed_user_sync_id.empty()) |
- managed_user_sync_id = "DUMMY ID"; |
- profile->GetPrefs()->SetString(prefs::kManagedUserId, |
- managed_user_sync_id); |
+ if (supervised_user_sync_id.empty()) |
+ supervised_user_sync_id = "DUMMY ID"; |
+ profile->GetPrefs()->SetString(prefs::kSupervisedUserId, |
+ supervised_user_sync_id); |
} |
content::NotificationService::current()->Notify( |