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

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 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/device_settings_provider.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
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;
118
119 // Specifies the duration of a warning countdown before the user is logged out
120 // because of idleness as specified by the |idle_logout_timeout| value.
121 // This field is only used if |idle_logout_timeout| != 0 is specified.
122 optional int64 idle_logout_warning_duration = 2;
123 }
124
125 message ScreenSaverProto {
126 // Specifies the extension ID which is to be used as a screen saver on the
127 // login screen if no user activity is present. Only respected if the device
128 // is in KIOSK mode.
129 optional string screen_saver_extension_id = 1;
130
131 // Specifies the timeout before the screen saver is activated. If this field
132 // is omitted or set to 0, no screen-saver will be started.
133 // Measured in milliseconds.
134 optional int64 screen_saver_timeout = 2;
135 }
136
112 message ChromeDeviceSettingsProto { 137 message ChromeDeviceSettingsProto {
113 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 138 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
114 optional UserWhitelistProto user_whitelist = 2; 139 optional UserWhitelistProto user_whitelist = 2;
115 optional GuestModeEnabledProto guest_mode_enabled = 3; 140 optional GuestModeEnabledProto guest_mode_enabled = 3;
116 optional DeviceProxySettingsProto device_proxy_settings = 4; 141 optional DeviceProxySettingsProto device_proxy_settings = 4;
117 optional CameraEnabledProto camera_enabled = 5; 142 optional CameraEnabledProto camera_enabled = 5;
118 optional ShowUserNamesOnSigninProto show_user_names = 6; 143 optional ShowUserNamesOnSigninProto show_user_names = 6;
119 optional DataRoamingEnabledProto data_roaming_enabled = 7; 144 optional DataRoamingEnabledProto data_roaming_enabled = 7;
120 optional AllowNewUsersProto allow_new_users = 8; 145 optional AllowNewUsersProto allow_new_users = 8;
121 optional MetricsEnabledProto metrics_enabled = 9; 146 optional MetricsEnabledProto metrics_enabled = 9;
122 optional ReleaseChannelProto release_channel = 10; 147 optional ReleaseChannelProto release_channel = 10;
123 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; 148 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11;
124 optional DeviceReportingProto device_reporting = 12; 149 optional DeviceReportingProto device_reporting = 12;
125 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; 150 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
126 optional AppPackProto app_pack = 14; 151 optional AppPackProto app_pack = 14;
152 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
153 optional ScreenSaverProto login_screen_saver = 16;
127 } 154 }
OLDNEW
« 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