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

Unified Diff: ash/mus/shell_delegate_mus.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/mus/bridge/wm_shell_mus.cc ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/shell_delegate_mus.cc
diff --git a/ash/mus/shell_delegate_mus.cc b/ash/mus/shell_delegate_mus.cc
index 8dd3c02d7c40237a40d72eb246c7dc657dceac74..6300d67614cdad5b79a7314cf15825435f664dc0 100644
--- a/ash/mus/shell_delegate_mus.cc
+++ b/ash/mus/shell_delegate_mus.cc
@@ -58,7 +58,9 @@ class SessionStateDelegateStub : public SessionStateDelegate {
screen_locked_ = false;
}
bool IsUserSessionBlocked() const override { return false; }
- SessionState GetSessionState() const override { return SESSION_STATE_ACTIVE; }
+ session_manager::SessionState GetSessionState() const override {
+ return session_manager::SessionState::ACTIVE;
+ }
const user_manager::UserInfo* GetUserInfo(UserIndex index) const override {
return user_info_.get();
}
« no previous file with comments | « ash/mus/bridge/wm_shell_mus.cc ('k') | ash/shell/shell_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698