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

Unified Diff: chrome/browser/ui/ash/multi_user/multi_user_window_manager.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/ui/ash/multi_user/multi_user_window_manager.cc
diff --git a/chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc b/chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc
index 497ebe47cc6053192409ddf8c55a4e6fb528b66a..11da278c1c76cebad77936a7d36de4cb96ce3593 100644
--- a/chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc
+++ b/chrome/browser/ui/ash/multi_user/multi_user_window_manager.cc
@@ -14,6 +14,7 @@
#include "ash/shell.h"
#include "ash/shell_delegate.h"
#include "chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h"
+#include "components/signin/core/account_id/account_id.h"
#include "components/user_manager/user_info.h"
#endif
@@ -46,7 +47,8 @@ MultiUserWindowManager* MultiUserWindowManager::CreateInstance() {
new MultiUserWindowManagerChromeOS(ash::Shell::GetInstance()
->session_state_delegate()
->GetUserInfo(0)
- ->GetUserID());
+ ->GetAccountId()
+ .GetUserEmail());
g_instance = manager;
manager->Init();
multi_user_mode_ = MULTI_PROFILE_MODE_SEPARATED;

Powered by Google App Engine
This is Rietveld 408576698