| 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..f8b189b109622f7b4e1970ff8442c065bc256cac 100644
|
| --- a/ash/common/session/session_state_delegate.h
|
| +++ b/ash/common/session/session_state_delegate.h
|
| @@ -65,9 +65,9 @@ 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 when the screen
|
| + // is turned off or the system is suspended.
|
| + virtual bool ShouldLockScreenAutomatically() const = 0;
|
|
|
| // Locks the screen. The locking happens asynchronously.
|
| virtual void LockScreen() = 0;
|
|
|