Index: ash/wm/lock_state_controller.h |
diff --git a/ash/wm/lock_state_controller.h b/ash/wm/lock_state_controller.h |
index b6d134f9e7d9147e139c5ec21cbb425f716016a9..505b90772119575a61bd2dc6c1db7452f2aae16e 100644 |
--- a/ash/wm/lock_state_controller.h |
+++ b/ash/wm/lock_state_controller.h |
@@ -161,8 +161,10 @@ class ASH_EXPORT LockStateController : public aura::WindowTreeHostObserver, |
void StartShutdownAnimation(); |
// Starts usual lock animation, but locks immediately. |
- // Unlike StartLockAnimation it does no lead to StartShutdownAnimation. |
- void StartLockAnimationAndLockImmediately(); |
+ // After locking and |kLockToShutdownTimeoutMs| StartShutdownAnimation() |
+ // will be called unless CancelShutdownAnimation() is called, if |
+ // |shutdown_after_lock| is true. |
+ void StartLockAnimationAndLockImmediately(bool shutdown_after_lock); |
// Returns true if we have requested system to lock, but haven't received |
// confirmation yet. |