| Index: chrome/browser/ui/ash/session_controller_client.h
|
| diff --git a/chrome/browser/ui/ash/session_controller_client.h b/chrome/browser/ui/ash/session_controller_client.h
|
| index a7e4dc4cd8e32392190d1d8ac103d21c5f7ee346..ca85a87e39c4d9027231179551fbee0072b5dddd 100644
|
| --- a/chrome/browser/ui/ash/session_controller_client.h
|
| +++ b/chrome/browser/ui/ash/session_controller_client.h
|
| @@ -101,6 +101,7 @@ class SessionControllerClient
|
| FRIEND_TEST_ALL_PREFIXES(SessionControllerClientTest, SendUserSession);
|
| FRIEND_TEST_ALL_PREFIXES(SessionControllerClientTest, SupervisedUser);
|
| FRIEND_TEST_ALL_PREFIXES(SessionControllerClientTest, UserPrefsChange);
|
| + FRIEND_TEST_ALL_PREFIXES(SessionControllerClientTest, SessionLengthLimit);
|
|
|
| // Called when the login profile is ready.
|
| void OnLoginUserProfilePrepared(Profile* profile);
|
| @@ -120,6 +121,9 @@ class SessionControllerClient
|
| // Sends the order of user sessions to ash.
|
| void SendUserSessionOrder();
|
|
|
| + // Sends the session length time limit to ash.
|
| + void SendSessionLengthLimit();
|
| +
|
| // Binds to the client interface.
|
| mojo::Binding<ash::mojom::SessionControllerClient> binding_;
|
|
|
| @@ -140,6 +144,9 @@ class SessionControllerClient
|
| // i.e. they don't much the user session order.
|
| std::vector<std::unique_ptr<PrefChangeRegistrar>> pref_change_registrars_;
|
|
|
| + // Observes changes to Local State prefs.
|
| + std::unique_ptr<PrefChangeRegistrar> local_state_registrar_;
|
| +
|
| // Used to suppress duplicate IPCs to ash.
|
| ash::mojom::SessionInfoPtr last_sent_session_info_;
|
| ash::mojom::UserSessionPtr last_sent_user_session_;
|
|
|