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

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: Fix Win GN build. Created 5 years, 1 month 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 b6578d400f0577d2fc0a8b0b6c330bae6ff3407d..e2698d7fe69f85018b8ff2dba0f5f397ca1f1870 100644
--- a/chrome/browser/download/notification/download_notification_browsertest.cc
+++ b/chrome/browser/download/notification/download_notification_browsertest.cc
@@ -1134,8 +1134,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