Index: chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc |
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc b/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc |
index 87d9ad47e69572d91a2816bf8b9215d195560708..baf77e464a363b98007cd15762b9b3e08a82fd7e 100644 |
--- a/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc |
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc |
@@ -59,8 +59,8 @@ void SetupProfilesForLock(Profile* signed_in) { |
Profile* supervised = CreateTestingProfile("supervised"); |
ProfileInfoCache* cache = &g_browser_process->profile_manager()-> |
GetProfileInfoCache(); |
- cache->SetUserNameOfProfileAtIndex(cache->GetIndexOfProfileWithPath( |
- signed_in->GetPath()), base::UTF8ToUTF16(signed_in_email)); |
+ cache->SetAuthInfoOfProfileAtIndex(cache->GetIndexOfProfileWithPath( |
+ signed_in->GetPath()), "12345", base::UTF8ToUTF16(signed_in_email)); |
signed_in->GetPrefs()-> |
SetString(prefs::kGoogleServicesHostedDomain, "google.com"); |
cache->SetSupervisedUserIdOfProfileAtIndex(cache->GetIndexOfProfileWithPath( |