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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view_browsertest.cc

Issue 1117453002: Add gaia_id to ProfileInfoCache. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments Created 5 years, 7 months 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/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(
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.cc ('k') | chrome/browser/ui/webui/ntp/ntp_login_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698