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

Unified Diff: chrome/browser/policy/proto/chrome_device_policy.proto

Issue 9423043: Add the protobufs for the set of session timeout policies planned for the kiosk mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 8 years, 10 months 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/browser/policy/proto/chrome_device_policy.proto
diff --git a/chrome/browser/policy/proto/chrome_device_policy.proto b/chrome/browser/policy/proto/chrome_device_policy.proto
index 5b5f0af0fec8ab02b13a4ef1d276a5559c53147b..ff58e55812a0365a521e63eadf436a2fd8f1d391 100644
--- a/chrome/browser/policy/proto/chrome_device_policy.proto
+++ b/chrome/browser/policy/proto/chrome_device_policy.proto
@@ -109,6 +109,29 @@ message AppPackProto {
repeated AppPackEntryProto app_pack = 1;
}
+message ForcedLogoutTimeoutsProto {
+ // All timeouts are specified in milliseconds.
Joao da Silva 2012/03/05 17:40:24 These policies are only valid in Kiosk mode too, r
pastarmovj 2012/03/06 11:59:35 I think we discussed that those policies might be
+
+ // Specifies the timeout before an idle user session is terminated.
+ // If this field is omitted or set to 0, no logout on idle will be performed.
+ optional int64 idle_logout_timeout = 1;
Joao da Silva 2012/03/05 17:40:24 Nit: newline after this line.
pastarmovj 2012/03/06 11:59:35 Done.
+ // Specifies the duration of a warning countdown before the user is logged out
+ // because of idleness as specified by the |idle_logout_timeout| value.
+ // This field is only used if |idle_logout_timeout| != 0 is specified.
+ optional int64 idle_logout_warning_duration = 2;
+}
+
+message ScreenSaverProto {
+ // Specifies the extension ID which is to be used as a screen saver on the
+ // login screen if no user activity is present. Only respected if the device
+ // is in KIOSK mode.
+ optional string screen_saver_extension_id = 1;
Joao da Silva 2012/03/05 17:40:24 Nit: newline after this line.
pastarmovj 2012/03/06 11:59:35 Done.
+ // Specifies the timeout before the screen saver is activated. If this field
+ // is omitted or set to 0, no screen-saver will be started.
+ // Measured in milliseconds.
+ optional int64 screen_saver_timeout = 2;
+}
+
message ChromeDeviceSettingsProto {
optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
optional UserWhitelistProto user_whitelist = 2;
@@ -124,4 +147,6 @@ message ChromeDeviceSettingsProto {
optional DeviceReportingProto device_reporting = 12;
optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
optional AppPackProto app_pack = 14;
+ optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
+ optional ScreenSaverProto screen_saver = 16;
Joao da Silva 2012/03/05 17:40:24 Suggestion: call this login_screen_saver instead?
pastarmovj 2012/03/06 11:59:35 Done.
}

Powered by Google App Engine
This is Rietveld 408576698