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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 option optimize_for = LITE_RUNTIME; 7 option optimize_for = LITE_RUNTIME;
8 8
9 package enterprise_management; 9 package enterprise_management;
10 10
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 optional string extension_id = 1; 102 optional string extension_id = 1;
103 optional string update_url = 2; 103 optional string update_url = 2;
104 optional bytes key_checksum = 3; 104 optional bytes key_checksum = 3;
105 } 105 }
106 106
107 message AppPackProto { 107 message AppPackProto {
108 // List of extensions to install as part of the AppPack. 108 // List of extensions to install as part of the AppPack.
109 repeated AppPackEntryProto app_pack = 1; 109 repeated AppPackEntryProto app_pack = 1;
110 } 110 }
111 111
112 message ForcedLogoutTimeoutsProto {
113 // 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
114
115 // Specifies the timeout before an idle user session is terminated.
116 // If this field is omitted or set to 0, no logout on idle will be performed.
117 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.
118 // Specifies the duration of a warning countdown before the user is logged out
119 // because of idleness as specified by the |idle_logout_timeout| value.
120 // This field is only used if |idle_logout_timeout| != 0 is specified.
121 optional int64 idle_logout_warning_duration = 2;
122 }
123
124 message ScreenSaverProto {
125 // Specifies the extension ID which is to be used as a screen saver on the
126 // login screen if no user activity is present. Only respected if the device
127 // is in KIOSK mode.
128 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.
129 // Specifies the timeout before the screen saver is activated. If this field
130 // is omitted or set to 0, no screen-saver will be started.
131 // Measured in milliseconds.
132 optional int64 screen_saver_timeout = 2;
133 }
134
112 message ChromeDeviceSettingsProto { 135 message ChromeDeviceSettingsProto {
113 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 136 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
114 optional UserWhitelistProto user_whitelist = 2; 137 optional UserWhitelistProto user_whitelist = 2;
115 optional GuestModeEnabledProto guest_mode_enabled = 3; 138 optional GuestModeEnabledProto guest_mode_enabled = 3;
116 optional DeviceProxySettingsProto device_proxy_settings = 4; 139 optional DeviceProxySettingsProto device_proxy_settings = 4;
117 optional CameraEnabledProto camera_enabled = 5; 140 optional CameraEnabledProto camera_enabled = 5;
118 optional ShowUserNamesOnSigninProto show_user_names = 6; 141 optional ShowUserNamesOnSigninProto show_user_names = 6;
119 optional DataRoamingEnabledProto data_roaming_enabled = 7; 142 optional DataRoamingEnabledProto data_roaming_enabled = 7;
120 optional AllowNewUsersProto allow_new_users = 8; 143 optional AllowNewUsersProto allow_new_users = 8;
121 optional MetricsEnabledProto metrics_enabled = 9; 144 optional MetricsEnabledProto metrics_enabled = 9;
122 optional ReleaseChannelProto release_channel = 10; 145 optional ReleaseChannelProto release_channel = 10;
123 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; 146 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11;
124 optional DeviceReportingProto device_reporting = 12; 147 optional DeviceReportingProto device_reporting = 12;
125 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; 148 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
126 optional AppPackProto app_pack = 14; 149 optional AppPackProto app_pack = 14;
150 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
151 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.
127 } 152 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698