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

Unified Diff: ash/common/system/user/tray_user.cc

Issue 2797743002: ash: Merge LoginStatus update code path (Closed)
Patch Set: for #2 comments Created 3 years, 8 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
« no previous file with comments | « ash/common/session/session_state_observer.h ('k') | ash/common/test/test_session_controller_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/user/tray_user.cc
diff --git a/ash/common/system/user/tray_user.cc b/ash/common/system/user/tray_user.cc
index bf045b9a708cde237bbc32392bede7d85c1f1b27..a96ba487fd35707302955c2100d394de5d151400 100644
--- a/ash/common/system/user/tray_user.cc
+++ b/ash/common/system/user/tray_user.cc
@@ -225,11 +225,11 @@ void TrayUser::UserAddedToSession(const AccountId& account_id) {
UpdateLayoutOfItem();
// Update the user item.
- UpdateAvatarImage(Shell::Get()->session_controller()->GetLoginStatus());
+ UpdateAvatarImage(Shell::Get()->session_controller()->login_status());
}
void TrayUser::UserSessionUpdated(const AccountId& account_id) {
- UpdateAvatarImage(Shell::Get()->session_controller()->GetLoginStatus());
+ UpdateAvatarImage(Shell::Get()->session_controller()->login_status());
}
void TrayUser::UpdateAvatarImage(LoginStatus status) {
« no previous file with comments | « ash/common/session/session_state_observer.h ('k') | ash/common/test/test_session_controller_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698