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

Unified Diff: ash/common/session/session_state_delegate.h

Issue 2446453002: Refactor ShouldLockScreenBeforeSuspending to ShouldLockScreenAutomatically (Closed)
Patch Set: comment 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 | « no previous file | ash/common/test/test_session_state_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | ash/common/test/test_session_state_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698