| Index: ash/common/session/session_state_observer.h
|
| diff --git a/ash/common/session/session_state_observer.h b/ash/common/session/session_state_observer.h
|
| index 5f2d344686f89b51070d4c700f116daf68778007..d37e9469accd8ffb4840e47c09f900ffb0351d88 100644
|
| --- a/ash/common/session/session_state_observer.h
|
| +++ b/ash/common/session/session_state_observer.h
|
| @@ -15,6 +15,7 @@ namespace ash {
|
|
|
| enum class LoginStatus;
|
|
|
| +// TODO(xiyuan): Rename to On*Changed().
|
| class ASH_EXPORT SessionStateObserver {
|
| public:
|
| // Called when active user has changed.
|
| @@ -32,6 +33,9 @@ class ASH_EXPORT SessionStateObserver {
|
| // Called when the login status is changed. |login_status| is the new status.
|
| virtual void LoginStatusChanged(LoginStatus login_status) {}
|
|
|
| + // Called when the lock state is changed. |locked| is the current lock stated.
|
| + virtual void LockStateChanged(bool locked) {}
|
| +
|
| protected:
|
| virtual ~SessionStateObserver() {}
|
| };
|
|
|