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

Unified Diff: ash/system/supervised/tray_supervised_user.cc

Issue 2911493002: cros: Pull user info from session_controller_client.mojom into separate mojom. (Closed)
Patch Set: Fix ordering in typemaps Created 3 years, 7 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/session/session_controller_unittest.cc ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/supervised/tray_supervised_user.cc
diff --git a/ash/system/supervised/tray_supervised_user.cc b/ash/system/supervised/tray_supervised_user.cc
index d725ec8cda38d8ce4f07a067a1990d29314859b6..c9cc15175bd2b636b5af8b4a029694b573562136 100644
--- a/ash/system/supervised/tray_supervised_user.cc
+++ b/ash/system/supervised/tray_supervised_user.cc
@@ -76,7 +76,7 @@ void TraySupervisedUser::OnUserSessionUpdated(const AccountId& account_id) {
DCHECK(user_session);
// Only respond to updates for the active user.
- if (user_session->account_id != account_id)
+ if (user_session->user_info->account_id != account_id)
return;
// Show notifications when custodian data first becomes available on login
« no previous file with comments | « ash/session/session_controller_unittest.cc ('k') | ash/system/user/tray_user.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698