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

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

Issue 2416253004: ash: Use session_manager::SessionState (Closed)
Patch Set: add comment about session state in SessionStaetDelegateChromeos Created 4 years, 2 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/system/overview/overview_button_tray.h ('k') | ash/common/test/test_session_state_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/overview/overview_button_tray.cc
diff --git a/ash/common/system/overview/overview_button_tray.cc b/ash/common/system/overview/overview_button_tray.cc
index 672798967666d5cc1d5ad27d7c20619bf4809387..f82f80c3643d74f71b84fafc29a40c84142970ad 100644
--- a/ash/common/system/overview/overview_button_tray.cc
+++ b/ash/common/system/overview/overview_button_tray.cc
@@ -78,7 +78,7 @@ bool OverviewButtonTray::PerformAction(const ui::Event& event) {
}
void OverviewButtonTray::SessionStateChanged(
- SessionStateDelegate::SessionState state) {
+ session_manager::SessionState state) {
UpdateIconVisibility();
}
@@ -145,7 +145,7 @@ void OverviewButtonTray::UpdateIconVisibility() {
session_state_delegate->IsActiveUserSessionStarted() &&
!session_state_delegate->IsScreenLocked() &&
session_state_delegate->GetSessionState() ==
- SessionStateDelegate::SESSION_STATE_ACTIVE &&
+ session_manager::SessionState::ACTIVE &&
shell->system_tray_delegate()->GetUserLoginStatus() !=
LoginStatus::KIOSK_APP);
}
« no previous file with comments | « ash/common/system/overview/overview_button_tray.h ('k') | ash/common/test/test_session_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698