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

Unified Diff: ash/mus/shell_delegate_mus.cc

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
Index: ash/mus/shell_delegate_mus.cc
diff --git a/ash/mus/shell_delegate_mus.cc b/ash/mus/shell_delegate_mus.cc
index bb6bf7561dd581c71bcbac2dc5675d6c1255695b..16fb74d9134bc696d721ecbcc619e845ec2e24eb 100644
--- a/ash/mus/shell_delegate_mus.cc
+++ b/ash/mus/shell_delegate_mus.cc
@@ -48,7 +48,7 @@ class SessionStateDelegateStub : public SessionStateDelegate {
bool IsActiveUserSessionStarted() const override { return true; }
bool CanLockScreen() const override { return true; }
bool IsScreenLocked() const override { return screen_locked_; }
- bool ShouldLockScreenBeforeSuspending() const override { return false; }
+ bool ShouldLockScreenAutomatically() const override { return false; }
void LockScreen() override {
screen_locked_ = true;
NOTIMPLEMENTED();

Powered by Google App Engine
This is Rietveld 408576698