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

Unified Diff: ash/system/user/user_card_view.cc

Issue 2829813002: cros: Move IsUserSupervised and IsUserChild off SystemTrayDelegate (Closed)
Patch Set: review 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/system/user/tray_user.cc ('k') | ash/test/test_session_controller_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/user/user_card_view.cc
diff --git a/ash/system/user/user_card_view.cc b/ash/system/user/user_card_view.cc
index be3a9d1232f94d869bfafe8b6fd1a315b740c5d0..ef1e219bc4285fd7a979988d50e68a52b38a0b23 100644
--- a/ash/system/user/user_card_view.cc
+++ b/ash/system/user/user_card_view.cc
@@ -414,7 +414,7 @@ void UserCardView::AddUserContent(views::BoxLayout* layout,
base::string16 user_email_string;
if (login_status != LoginStatus::GUEST) {
user_email_string =
- Shell::Get()->system_tray_delegate()->IsUserSupervised()
+ Shell::Get()->session_controller()->IsUserSupervised()
? l10n_util::GetStringUTF16(IDS_ASH_STATUS_TRAY_SUPERVISED_LABEL)
: base::UTF8ToUTF16(
controller->GetUserSession(user_index_)->display_email);
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | ash/test/test_session_controller_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698