| Index: ash/public/interfaces/session_controller.mojom
|
| diff --git a/ash/public/interfaces/session_controller.mojom b/ash/public/interfaces/session_controller.mojom
|
| index 4e902cda76cd007c288b7cd314fcb328e7188249..7b8273dde7912bdb8c13e02bd9a7c5ec6203f83b 100644
|
| --- a/ash/public/interfaces/session_controller.mojom
|
| +++ b/ash/public/interfaces/session_controller.mojom
|
| @@ -6,6 +6,7 @@ module ash.mojom;
|
|
|
| import "ash/public/interfaces/user_info.mojom";
|
| import "components/signin/public/interfaces/account_id.mojom";
|
| +import "mojo/common/time.mojom";
|
|
|
| // Matches session_manager::SessionState.
|
| enum SessionState {
|
| @@ -141,6 +142,15 @@ interface SessionController {
|
|
|
| // Notifies that chrome is terminating.
|
| NotifyChromeTerminating();
|
| +
|
| + // Adds a countdown timer to the system tray menu and creates or updates a
|
| + // notification saying the session length is limited (e.g. a public session in
|
| + // a library). Setting |length_limit| to zero removes the notification.
|
| + // NOTE: Chrome enforces the limit, not ash. Ash could enforce it if local
|
| + // state prefs and user activity monitoring were available under mustash.
|
| + // http://crbug.com/729808
|
| + SetSessionLengthLimit(mojo.common.mojom.TimeDelta length_limit,
|
| + mojo.common.mojom.TimeTicks start_time);
|
| };
|
|
|
| // Interface for ash to request session service from its client (e.g. Chrome).
|
|
|