Chromium Code Reviews| Index: ash/system/user/user_view.cc |
| diff --git a/ash/system/user/user_view.cc b/ash/system/user/user_view.cc |
| index 7f7ece54398a7dc7979551056450dcc70bbe3025..9e653a6ab7cb758d0ed5a2b8adb4f4f836467947 100644 |
| --- a/ash/system/user/user_view.cc |
| +++ b/ash/system/user/user_view.cc |
| @@ -19,6 +19,7 @@ |
| #include "ash/system/user/config.h" |
| #include "ash/system/user/rounded_image_view.h" |
| #include "ash/system/user/user_card_view.h" |
| +#include "components/signin/core/account_id/account_id.h" |
| #include "components/user_manager/user_info.h" |
| #include "grit/ash_resources.h" |
| #include "grit/ash_strings.h" |
| @@ -77,7 +78,8 @@ void SwitchUser(ash::UserIndex user_index) { |
| ash::Shell::GetInstance()->session_state_delegate(); |
| ash::MultiProfileUMA::RecordSwitchActiveUser( |
| ash::MultiProfileUMA::SWITCH_ACTIVE_USER_BY_TRAY); |
| - delegate->SwitchActiveUser(delegate->GetUserInfo(user_index)->GetUserID()); |
| + delegate->SwitchActiveUser( |
| + delegate->GetUserInfo(user_index)->GetUserID().GetUserEmail()); |
|
stevenjb
2015/10/22 17:52:36
This would be good to switch to taking AccountId&
Alexander Alekseev
2015/10/23 09:11:20
Yes, let's postpone this.
|
| } |
| class LogoutButton : public TrayPopupLabelButton { |