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

Side by Side Diff: chrome/browser/chromeos/policy/proto/chrome_device_policy.proto

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 optional bool report_users = 6; 99 optional bool report_users = 6;
100 } 100 }
101 101
102 message EphemeralUsersEnabledProto { 102 message EphemeralUsersEnabledProto {
103 // Determines whether users should be treated as ephemeral. In ephemeral users 103 // Determines whether users should be treated as ephemeral. In ephemeral users
104 // mode, no cryptohome is created for the user, but a tmpfs mount is used 104 // mode, no cryptohome is created for the user, but a tmpfs mount is used
105 // instead such that upon logout all user state is discarded. 105 // instead such that upon logout all user state is discarded.
106 optional bool ephemeral_users_enabled = 1; 106 optional bool ephemeral_users_enabled = 1;
107 } 107 }
108 108
109 // Details of an extension to install as part of the AppPack.
110 message AppPackEntryProto {
111 optional string extension_id = 1;
112 optional string update_url = 2;
113
114 // This field was added but never used and there are no plans to support it
115 // eventually either.
116 optional bool OBSOLETE_online_only = 3 [deprecated = true];
117 }
118
119 message AppPackProto {
120 // List of extensions to install as part of the AppPack.
121 repeated AppPackEntryProto app_pack = 1;
122 }
123
124 // This is a special policy for kiosk/retail mode that specifies what apps
125 // should be pinned to the launcher. For regular accounts, pinned apps are
126 // controlled through user policy.
127 message PinnedAppsProto {
128 // App IDs for the apps to pin.
129 repeated string app_id = 1;
130 }
131
132 message ForcedLogoutTimeoutsProto {
133 // All timeouts are specified in milliseconds.
134
135 // Specifies the timeout before an idle user session is terminated.
136 // If this field is omitted or set to 0, no logout on idle will be performed.
137 optional int64 idle_logout_timeout = 1;
138
139 // Specifies the duration of a warning countdown before the user is logged out
140 // because of idleness as specified by the |idle_logout_timeout| value.
141 // This field is only used if |idle_logout_timeout| != 0 is specified.
142 optional int64 idle_logout_warning_duration = 2;
143 }
144
145 message ScreenSaverProto {
146 // Specifies the extension ID which is to be used as a screen saver on the
147 // login screen if no user activity is present. Only respected if the device
148 // is in RETAIL mode.
149 optional string screen_saver_extension_id = 1;
150
151 // Specifies the timeout before the screen saver is activated. If this field
152 // is omitted or set to 0, no screen-saver will be started.
153 // Measured in milliseconds.
154 optional int64 screen_saver_timeout = 2;
155 }
156
157 // Enterprise controls for auto-update behavior of Chrome OS. 109 // Enterprise controls for auto-update behavior of Chrome OS.
158 message AutoUpdateSettingsProto { 110 message AutoUpdateSettingsProto {
159 // True if we don't want the device to auto-update (target_version_prefix is 111 // True if we don't want the device to auto-update (target_version_prefix is
160 // ignored in this case). 112 // ignored in this case).
161 optional bool update_disabled = 1; 113 optional bool update_disabled = 1;
162 114
163 // Specifies the prefix of the target version we want the device to 115 // Specifies the prefix of the target version we want the device to
164 // update to, if it's on a older version. If the device is already on 116 // update to, if it's on a older version. If the device is already on
165 // a version with the given prefix, then there's no effect. If the device is 117 // a version with the given prefix, then there's no effect. If the device is
166 // on a higher version, it will remain on the higher version as we 118 // on a higher version, it will remain on the higher version as we
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // is being shown or a kiosk app session is in progress. This will change in 171 // is being shown or a kiosk app session is in progress. This will change in
220 // the future and the policy will always apply, regardless of whether a 172 // the future and the policy will always apply, regardless of whether a
221 // session of any particular type is in progress or not. 173 // session of any particular type is in progress or not.
222 optional bool reboot_after_update = 8; 174 optional bool reboot_after_update = 8;
223 175
224 // True if AU payloads may be shared with and consumed from other devices 176 // True if AU payloads may be shared with and consumed from other devices
225 // on the LAN, using p2p. False otherwise. 177 // on the LAN, using p2p. False otherwise.
226 optional bool p2p_enabled = 9 [default = false]; 178 optional bool p2p_enabled = 9 [default = false];
227 } 179 }
228 180
229 message StartUpUrlsProto {
230 // Specifies the URLs to be loaded on login to the anonymous account used if
231 // the device is in RETAIL mode.
232 repeated string start_up_urls = 1;
233 }
234
235 message SystemTimezoneProto { 181 message SystemTimezoneProto {
236 // Specifies an owner-determined timezone that applies to the login screen and 182 // Specifies an owner-determined timezone that applies to the login screen and
237 // all users. Valid values are listed in "timezone_settings.cc". Additionally, 183 // all users. Valid values are listed in "timezone_settings.cc". Additionally,
238 // timezones from the "IANA Time Zone Database" (e.g. listed on wikipedia) 184 // timezones from the "IANA Time Zone Database" (e.g. listed on wikipedia)
239 // that are equivalent to one of the timezones in "timezone_settings.cc" are 185 // that are equivalent to one of the timezones in "timezone_settings.cc" are
240 // valid. In case of an invalid value, the setting is still activated with a 186 // valid. In case of an invalid value, the setting is still activated with a
241 // fallback timezone (currently "GMT"). In case of an empty string or if no 187 // fallback timezone (currently "GMT"). In case of an empty string or if no
242 // value is provided, the timezone device setting is inactive. In that case, 188 // value is provided, the timezone device setting is inactive. In that case,
243 // the currently active timezone will remain in use however users can change 189 // the currently active timezone will remain in use however users can change
244 // the timezone and the change is persistent. Thus a change by one user 190 // the timezone and the change is persistent. Thus a change by one user
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
588 optional DeviceProxySettingsProto device_proxy_settings = 4; 534 optional DeviceProxySettingsProto device_proxy_settings = 4;
589 optional CameraEnabledProto camera_enabled = 5; 535 optional CameraEnabledProto camera_enabled = 5;
590 optional ShowUserNamesOnSigninProto show_user_names = 6; 536 optional ShowUserNamesOnSigninProto show_user_names = 6;
591 optional DataRoamingEnabledProto data_roaming_enabled = 7; 537 optional DataRoamingEnabledProto data_roaming_enabled = 7;
592 optional AllowNewUsersProto allow_new_users = 8; 538 optional AllowNewUsersProto allow_new_users = 8;
593 optional MetricsEnabledProto metrics_enabled = 9; 539 optional MetricsEnabledProto metrics_enabled = 9;
594 optional ReleaseChannelProto release_channel = 10; 540 optional ReleaseChannelProto release_channel = 10;
595 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11; 541 optional DeviceOpenNetworkConfigurationProto open_network_configuration = 11;
596 optional DeviceReportingProto device_reporting = 12; 542 optional DeviceReportingProto device_reporting = 12;
597 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13; 543 optional EphemeralUsersEnabledProto ephemeral_users_enabled = 13;
598 optional AppPackProto app_pack = 14;
599 optional ForcedLogoutTimeoutsProto forced_logout_timeouts = 15;
600 optional ScreenSaverProto login_screen_saver = 16;
Mattias Nissler (ping if slow) 2014/10/02 09:56:47 Please deprecate these fields properly (to avoid a
rkc 2014/11/20 21:06:34 Done.
601 optional AutoUpdateSettingsProto auto_update_settings = 17; 544 optional AutoUpdateSettingsProto auto_update_settings = 17;
602 optional StartUpUrlsProto start_up_urls = 18;
603 optional PinnedAppsProto pinned_apps = 19;
604 optional SystemTimezoneProto system_timezone = 20; 545 optional SystemTimezoneProto system_timezone = 20;
605 optional DeviceLocalAccountsProto device_local_accounts = 21; 546 optional DeviceLocalAccountsProto device_local_accounts = 21;
606 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; 547 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22;
607 optional StartUpFlagsProto start_up_flags = 23; 548 optional StartUpFlagsProto start_up_flags = 23;
608 optional UptimeLimitProto uptime_limit = 24; 549 optional UptimeLimitProto uptime_limit = 24;
609 optional VariationsParameterProto variations_parameter = 25; 550 optional VariationsParameterProto variations_parameter = 25;
610 optional AttestationSettingsProto attestation_settings = 26; 551 optional AttestationSettingsProto attestation_settings = 26;
611 optional AccessibilitySettingsProto accessibility_settings = 27; 552 optional AccessibilitySettingsProto accessibility_settings = 27;
612 optional SupervisedUsersSettingsProto supervised_users_settings = 28; 553 optional SupervisedUsersSettingsProto supervised_users_settings = 28;
613 optional LoginScreenPowerManagementProto login_screen_power_management = 29; 554 optional LoginScreenPowerManagementProto login_screen_power_management = 29;
614 optional SystemUse24HourClockProto use_24hour_clock = 30; 555 optional SystemUse24HourClockProto use_24hour_clock = 30;
615 optional AutoCleanupSettigsProto auto_clean_up_settings = 31; 556 optional AutoCleanupSettigsProto auto_clean_up_settings = 31;
616 optional SystemSettingsProto system_settings = 32; 557 optional SystemSettingsProto system_settings = 32;
617 optional SAMLSettingsProto saml_settings = 33; 558 optional SAMLSettingsProto saml_settings = 33;
618 } 559 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698