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

Unified Diff: chrome/common/chrome_notification_types.h

Issue 11499012: Add policy for limiting the session length (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix include order. Created 8 years 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
Index: chrome/common/chrome_notification_types.h
diff --git a/chrome/common/chrome_notification_types.h b/chrome/common/chrome_notification_types.h
index b1bc41e3621bf2301659c85683c722ee09a639e2..28f67d3029e0a267102014707b94909426bab2a6 100644
--- a/chrome/common/chrome_notification_types.h
+++ b/chrome/common/chrome_notification_types.h
@@ -1071,6 +1071,17 @@ enum NotificationType {
// Sent when spoken feedback is toggled.
NOTIFICATION_CROS_ACCESSIBILITY_TOGGLE_SPOKEN_FEEDBACK,
+ // Sent when it is determined that no session length limit is set. Sent once
+ // during login if no limit is set and whenever an existing limit is removed.
+ // The source is the SessionLengthLimiter for the current user. There are no
+ // details.
+ NOTIFICATION_SESSION_LENGTH_UNLIMITED,
+
+ // Sent when a session length limit is set and the remaining session time
+ // changes. Sent immediately when a limit comes into force and once per second
+ // thereafter. The source is the SessionLengthLimiter for the current user.
+ // The details are the remaining session time as a base::TimeDelta.
+ NOTIFICATION_REMAINING_SESSION_TIME_CHANGED,
#endif
#if defined(TOOLKIT_VIEWS)

Powered by Google App Engine
This is Rietveld 408576698