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

Unified Diff: chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm

Issue 964563002: Replace SetAuthenticatedUsername with SetAuthenticatedAccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@priv
Patch Set: rebased Created 5 years, 8 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/cocoa/profiles/profile_chooser_controller_unittest.mm
diff --git a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
index 2a4958e4bd583e1341289ee2271222bd444f5abf..2b1afd93244af47a3c7dac178ce980f0d7e9ef6f 100644
--- a/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
+++ b/chrome/browser/ui/cocoa/profiles/profile_chooser_controller_unittest.mm
@@ -370,7 +370,7 @@ TEST_F(ProfileChooserControllerTest, AccountManagementLayout) {
// Set up the signin manager and the OAuth2Tokens.
Profile* profile = browser()->profile();
SigninManagerFactory::GetForProfile(profile)->
- SetAuthenticatedUsername(kEmail);
+ SetAuthenticatedAccountInfo(kEmail, kEmail);
ProfileOAuth2TokenServiceFactory::GetForProfile(profile)->
UpdateCredentials(kEmail, kLoginToken);
ProfileOAuth2TokenServiceFactory::GetForProfile(profile)->

Powered by Google App Engine
This is Rietveld 408576698