Chromium Code Reviews| Index: ash/common/session/session_state_delegate.h |
| diff --git a/ash/common/session/session_state_delegate.h b/ash/common/session/session_state_delegate.h |
| index 608a2d4f1a6c334f00569863e45c51374c6f5bd5..865f28fe9ea985f4a85347ecf26342c54c617d04 100644 |
| --- a/ash/common/session/session_state_delegate.h |
| +++ b/ash/common/session/session_state_delegate.h |
| @@ -65,9 +65,8 @@ class ASH_EXPORT SessionStateDelegate { |
| // Returns true if the screen is currently locked. |
| virtual bool IsScreenLocked() const = 0; |
| - // Returns true if the screen should be locked when the system is about to |
| - // suspend. |
| - virtual bool ShouldLockScreenBeforeSuspending() const = 0; |
| + // Returns true if the screen should be locked automatically. |
|
Daniel Erat
2016/10/21 22:48:51
how about adding something like "... when the scre
Qiang(Joe) Xu
2016/10/24 17:53:55
Done.
|
| + virtual bool ShouldLockScreenAutomatically() const = 0; |
| // Locks the screen. The locking happens asynchronously. |
| virtual void LockScreen() = 0; |