diff options
Diffstat (limited to 'ash/shell')
-rw-r--r-- | ash/shell/shell_delegate_impl.cc | 8 | ||||
-rw-r--r-- | ash/shell/shell_delegate_impl.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc index 1d569c8..1edc9d1 100644 --- a/ash/shell/shell_delegate_impl.cc +++ b/ash/shell/shell_delegate_impl.cc @@ -36,19 +36,19 @@ void ShellDelegateImpl::SetWatcher(WindowWatcher* watcher) { launcher_delegate_->set_watcher(watcher); } -bool ShellDelegateImpl::IsUserLoggedIn() { +bool ShellDelegateImpl::IsUserLoggedIn() const { return true; } -bool ShellDelegateImpl::IsSessionStarted() { +bool ShellDelegateImpl::IsSessionStarted() const { return true; } -bool ShellDelegateImpl::IsFirstRunAfterBoot() { +bool ShellDelegateImpl::IsFirstRunAfterBoot() const { return false; } -bool ShellDelegateImpl::CanLockScreen() { +bool ShellDelegateImpl::CanLockScreen() const { return true; } diff --git a/ash/shell/shell_delegate_impl.h b/ash/shell/shell_delegate_impl.h index 555e87f..3dd663e0a 100644 --- a/ash/shell/shell_delegate_impl.h +++ b/ash/shell/shell_delegate_impl.h @@ -21,10 +21,10 @@ class ShellDelegateImpl : public ash::ShellDelegate { void SetWatcher(WindowWatcher* watcher); - virtual bool IsUserLoggedIn() OVERRIDE; - virtual bool IsSessionStarted() OVERRIDE; - virtual bool IsFirstRunAfterBoot() OVERRIDE; - virtual bool CanLockScreen() OVERRIDE; + virtual bool IsUserLoggedIn() const OVERRIDE; + virtual bool IsSessionStarted() const OVERRIDE; + virtual bool IsFirstRunAfterBoot() const OVERRIDE; + virtual bool CanLockScreen() const OVERRIDE; virtual void LockScreen() OVERRIDE; virtual void UnlockScreen() OVERRIDE; virtual bool IsScreenLocked() const OVERRIDE; |