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

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

Issue 2446453002: Refactor ShouldLockScreenBeforeSuspending to ShouldLockScreenAutomatically (Closed)
Patch Set: 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..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;
« 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