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

Unified Diff: ash/system/overview/overview_button_tray.cc

Issue 2041233005: Moves ash::user::LoginStatus to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweaks Created 4 years, 6 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/overview/overview_button_tray.cc
diff --git a/ash/system/overview/overview_button_tray.cc b/ash/system/overview/overview_button_tray.cc
index b226fcd9f8747eec52bf3a63a4493a9fec615656..dc8a9293aa351294b8425fcabf8bd2fb79e17f38 100644
--- a/ash/system/overview/overview_button_tray.cc
+++ b/ash/system/overview/overview_button_tray.cc
@@ -54,8 +54,7 @@ OverviewButtonTray::~OverviewButtonTray() {
this);
}
-void OverviewButtonTray::UpdateAfterLoginStatusChange(
- user::LoginStatus status) {
+void OverviewButtonTray::UpdateAfterLoginStatusChange(LoginStatus status) {
UpdateIconVisibility();
}
@@ -136,7 +135,7 @@ void OverviewButtonTray::UpdateIconVisibility() {
session_state_delegate->GetSessionState() ==
SessionStateDelegate::SESSION_STATE_ACTIVE &&
shell->system_tray_delegate()->GetUserLoginStatus() !=
- user::LOGGED_IN_KIOSK_APP);
+ LoginStatus::KIOSK_APP);
}
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698