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

Unified Diff: ash/shell/shell_delegate_impl.cc

Issue 2416253004: ash: Use session_manager::SessionState (Closed)
Patch Set: fix compile 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
Index: ash/shell/shell_delegate_impl.cc
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index 046458fd42b969feebcb0431298cade94bf04cdb..4a90a91e3995ad9211fc70b65a1f7d918d6d4298 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -139,8 +139,8 @@ class SessionStateDelegateImpl : public SessionStateDelegate {
}
SessionState GetSessionState() const override {
// Assume that if session is not active we're at login.
- return IsActiveUserSessionStarted() ? SESSION_STATE_ACTIVE
- : SESSION_STATE_LOGIN_PRIMARY;
+ return IsActiveUserSessionStarted() ? SessionState::ACTIVE
+ : SessionState::LOGIN_PRIMARY;
}
const user_manager::UserInfo* GetUserInfo(UserIndex index) const override {
return user_info_.get();

Powered by Google App Engine
This is Rietveld 408576698