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

Unified Diff: ash/wm/lock_state_controller.h

Issue 2830933002: cros: Use SessionController for lock starting code (Closed)
Patch Set: fix nit Created 3 years, 8 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 | « ash/session/session_controller.cc ('k') | ash/wm/lock_state_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/lock_state_controller.h
diff --git a/ash/wm/lock_state_controller.h b/ash/wm/lock_state_controller.h
index bbda1bebb8c10977bd7bb90b455a565d0e3e3161..aa4530c33224c1ad6947118e6eb3d78d66d8080b 100644
--- a/ash/wm/lock_state_controller.h
+++ b/ash/wm/lock_state_controller.h
@@ -116,7 +116,7 @@ class ASH_EXPORT LockStateController : public aura::WindowTreeHostObserver,
// Sets up the callback that should be called once lock animation is finished.
// Callback is guaranteed to be called once and then discarded.
- void SetLockScreenDisplayedCallback(const base::Closure& callback);
+ void SetLockScreenDisplayedCallback(base::OnceClosure callback);
// aura::WindowTreeHostObserver override:
void OnHostCloseRequested(const aura::WindowTreeHost* host) override;
@@ -240,7 +240,7 @@ class ASH_EXPORT LockStateController : public aura::WindowTreeHostObserver,
// etc. are shut down.
base::OneShotTimer real_shutdown_timer_;
- base::Closure lock_screen_displayed_callback_;
+ base::OnceClosure lock_screen_displayed_callback_;
ScopedSessionObserver scoped_session_observer_;
« no previous file with comments | « ash/session/session_controller.cc ('k') | ash/wm/lock_state_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698