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

Unified Diff: chrome/browser/download/notification/download_notification_browsertest.cc

Issue 1412813003: This CL replaces user_manager::UserID with AccountId. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@468875--Chrome-OS-handles-deletion-of-Gmail-account-poorly--Create-AccountID-structure-part2--user_names
Patch Set: Rebased. Created 5 years, 2 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/download/notification/download_notification_browsertest.cc
diff --git a/chrome/browser/download/notification/download_notification_browsertest.cc b/chrome/browser/download/notification/download_notification_browsertest.cc
index 6d08b3f26f9c220ce82c50cb8a3b482787034884..54845449ece6ad44307f0aa66649e7ff2e134eee 100644
--- a/chrome/browser/download/notification/download_notification_browsertest.cc
+++ b/chrome/browser/download/notification/download_notification_browsertest.cc
@@ -1127,8 +1127,9 @@ class MultiProfileDownloadNotificationTest
user_manager::UserManager* const user_manager =
user_manager::UserManager::Get();
if (log_in)
- user_manager->UserLoggedIn(info.email, info.hash, false);
- user_manager->SaveUserDisplayName(info.email,
+ user_manager->UserLoggedIn(AccountId::FromUserEmail(info.email),
+ info.hash, false);
+ user_manager->SaveUserDisplayName(AccountId::FromUserEmail(info.email),
base::UTF8ToUTF16(info.display_name));
SigninManagerFactory::GetForProfile(
chromeos::ProfileHelper::GetProfileByUserIdHash(info.hash))

Powered by Google App Engine
This is Rietveld 408576698