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

Unified Diff: ash/system/palette/palette_tray.cc

Issue 2864663002: cros: Merge SystemTrayDelegate::GetUserLoginStatus (Closed)
Patch Set: 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
Index: ash/system/palette/palette_tray.cc
diff --git a/ash/system/palette/palette_tray.cc b/ash/system/palette/palette_tray.cc
index ab54c99bc80cbd5079af5296f0ed191b8a1012a2..aaf320fb2060f5069e70f41127f73fe0e9ff0938 100644
--- a/ash/system/palette/palette_tray.cc
+++ b/ash/system/palette/palette_tray.cc
@@ -65,8 +65,7 @@ bool IsInUserSession() {
return !session_controller->IsUserSessionBlocked() &&
session_controller->GetSessionState() ==
session_manager::SessionState::ACTIVE &&
- Shell::Get()->system_tray_delegate()->GetUserLoginStatus() !=
- LoginStatus::KIOSK_APP;
+ session_controller->login_status() != LoginStatus::KIOSK_APP;
}
class TitleView : public views::View, public views::ButtonListener {

Powered by Google App Engine
This is Rietveld 408576698