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

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 and did some more cleanup. Created 8 years, 9 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
« no previous file with comments | « chrome/browser/chromeos/device_settings_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e447d4f22db173b855bcd0f315a2b23982d17e9c 100644
--- a/chrome/browser/policy/proto/chrome_device_policy.proto
+++ b/chrome/browser/policy/proto/chrome_device_policy.proto
@@ -109,6 +109,31 @@ message AppPackProto {
repeated AppPackEntryProto app_pack = 1;
}
+message ForcedLogoutTimeoutsProto {
+ // All timeouts are specified in milliseconds.
+
+ // 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;
+
+ // 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;
+
+ // 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 +149,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 login_screen_saver = 16;
}
« no previous file with comments | « chrome/browser/chromeos/device_settings_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698