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

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: Updated the protobuf according to the discussion and added client side binding. 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 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.
114
115 // Specifies the timeout before an idle user session is terminated.
116 // If this field is omitted or set to 0, no idle timeout will be performed.
Mattias Nissler (ping if slow) 2012/03/01 19:58:10 "no idle timeout will be performed": Not clear wha
pastarmovj 2012/03/05 17:02:55 Done.
117 optional int64 idle_logout_timeout = 1;
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| is specified.
Mattias Nissler (ping if slow) 2012/03/01 19:58:10 not quite accurate, should be if |idle_logut_timeo
pastarmovj 2012/03/05 17:02:55 Done.
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.
Mattias Nissler (ping if slow) 2012/03/01 19:58:10 We should point out that this screen saver applies
pastarmovj 2012/03/05 17:02:55 Done.
126 optional string screen_saver_extension_id = 1;
127 // Specified in milliseconds the timeout before the screen saver is activated
Mattias Nissler (ping if slow) 2012/03/01 19:58:10 grammar
pastarmovj 2012/03/05 17:02:55 Done.
128 // on the login screen if no user activity present. Only respected if the
Mattias Nissler (ping if slow) 2012/03/01 19:58:10 oh, so here it says login screen. Can we move that
pastarmovj 2012/03/05 17:02:55 Done.
129 // device is in KIOSK mode.
130 // If this field is omitted or set to 0, no screen-saver will be started.
131 optional int64 screen_saver_timeout = 2;
132 }
133
112 message ChromeDeviceSettingsProto { 134 message ChromeDeviceSettingsProto {
113 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1; 135 optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
114 optional UserWhitelistProto user_whitelist = 2; 136 optional UserWhitelistProto user_whitelist = 2;
115 optional GuestModeEnabledProto guest_mode_enabled = 3; 137 optional GuestModeEnabledProto guest_mode_enabled = 3;
116 optional DeviceProxySettingsProto device_proxy_settings = 4; 138 optional DeviceProxySettingsProto device_proxy_settings = 4;
117 optional CameraEnabledProto camera_enabled = 5; 139 optional CameraEnabledProto camera_enabled = 5;
118 optional ShowUserNamesOnSigninProto show_user_names = 6; 140 optional ShowUserNamesOnSigninProto show_user_names = 6;
119 optional DataRoamingEnabledProto data_roaming_enabled = 7; 141 optional DataRoamingEnabledProto data_roaming_enabled = 7;
120 optional AllowNewUsersProto allow_new_users = 8; 142 optional AllowNewUsersProto allow_new_users = 8;
121 optional MetricsEnabledProto metrics_enabled = 9; 143 optional MetricsEnabledProto metrics_enabled = 9;
122 optional ReleaseChannelProto release_channel = 10; 144 optional ReleaseChannelProto release_channel = 10;
123 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; 145 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11;
124 optional DeviceReportingProto device_reporting = 12; 146 optional DeviceReportingProto device_reporting = 12;
125 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; 147 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
126 optional AppPackProto app_pack = 14; 148 optional AppPackProto app_pack = 14;
149 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
150 optional ScreenSaverProto screen_saver = 16;
127 } 151 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698