diff options
Diffstat (limited to 'chrome/browser/download/notification/download_notification_browsertest.cc')
| -rw-r--r-- | chrome/browser/download/notification/download_notification_browsertest.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/download/notification/download_notification_browsertest.cc b/chrome/browser/download/notification/download_notification_browsertest.cc index 98f81ea..fe7205c 100644 --- a/chrome/browser/download/notification/download_notification_browsertest.cc +++ b/chrome/browser/download/notification/download_notification_browsertest.cc @@ -1194,10 +1194,12 @@ class MultiProfileDownloadNotificationTest user_manager::UserManager* const user_manager = user_manager::UserManager::Get(); if (log_in) - user_manager->UserLoggedIn(AccountId::FromUserEmail(info.email), - info.hash, false); - user_manager->SaveUserDisplayName(AccountId::FromUserEmail(info.email), - base::UTF8ToUTF16(info.display_name)); + user_manager->UserLoggedIn( + AccountId::FromUserEmailGaiaId(info.email, info.gaia_id), info.hash, + false); + user_manager->SaveUserDisplayName( + AccountId::FromUserEmailGaiaId(info.email, info.gaia_id), + base::UTF8ToUTF16(info.display_name)); SigninManagerFactory::GetForProfile( chromeos::ProfileHelper::GetProfileByUserIdHash(info.hash)) ->SetAuthenticatedAccountInfo(info.gaia_id, info.email); |
