| OLD | NEW |
| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 // fallback timezone (currently "GMT"). In case of an empty string or if no | 219 // fallback timezone (currently "GMT"). In case of an empty string or if no |
| 220 // value is provided, the timezone device setting is inactive. In that case, | 220 // value is provided, the timezone device setting is inactive. In that case, |
| 221 // the currently active timezone will remain in use however users can change | 221 // the currently active timezone will remain in use however users can change |
| 222 // the timezone and the change is persistent. Thus a change by one user | 222 // the timezone and the change is persistent. Thus a change by one user |
| 223 // affects the login-screen and all other users. | 223 // affects the login-screen and all other users. |
| 224 optional string timezone = 1; | 224 optional string timezone = 1; |
| 225 } | 225 } |
| 226 | 226 |
| 227 // Describes a single device-local account. | 227 // Describes a single device-local account. |
| 228 message DeviceLocalAccountInfoProto { | 228 message DeviceLocalAccountInfoProto { |
| 229 // Identifier for the device-local account. Account identifiers loosely follow | 229 // Identifier for the device-local account. This is an opaque identifier that |
| 230 // the conventions for email addresses as specified by RFC 5322, e.g. local | 230 // is used to distinguish different device-local accounts configured. All |
| 231 // (user name) and domain parts, separated by the '@' character. | 231 // configured accounts on a device must have unique identifiers. |
| 232 // Policy-configured device-local accounts are on the same domain that the | |
| 233 // device is enrolled to. In contrast to RFC 5322 (which is more restrictive), | |
| 234 // the local part may contain any characters other than '@'. | |
| 235 optional string id = 1; | 232 optional string id = 1; |
| 233 |
| 234 // Indicates the type of device-local account. |
| 235 enum AccountType { |
| 236 // A login-less, policy-configured browsing session. |
| 237 ACCOUNT_TYPE_PUBLIC_SESSION = 0; |
| 238 // An account that serves as a container for a single full-screen app. |
| 239 ACCOUNT_TYPE_KIOSK_APP = 1; |
| 240 }; |
| 241 |
| 242 // The account type. |
| 243 optional AccountType type = 2 [default = ACCOUNT_TYPE_PUBLIC_SESSION]; |
| 244 |
| 245 // For ACCOUNT_TYPE_KIOSK_APP, indicates the app that should be run. The |
| 246 // string value should be a valid 32-character Chrome App identifier and |
| 247 // specifies the Kiosk App to download and run. |
| 248 optional string kiosk_app_id = 3; |
| 249 |
| 250 // Optional extension update URL to download the Kiosk App package from. If |
| 251 // not specified, the app will be downloaded from the standard Chrome Web |
| 252 // Store update URL. |
| 253 optional string kiosk_app_update_url = 4; |
| 236 } | 254 } |
| 237 | 255 |
| 238 message DeviceLocalAccountsProto { | 256 message DeviceLocalAccountsProto { |
| 239 // The list of device-local accounts (i.e. accounts without an associated | 257 // The list of device-local accounts (i.e. accounts without an associated |
| 240 // cloud-backed profile) that are available on the device. | 258 // cloud-backed profile) that are available on the device. |
| 241 repeated DeviceLocalAccountInfoProto account = 1; | 259 repeated DeviceLocalAccountInfoProto account = 1; |
| 242 | 260 |
| 243 // The identifier of the device-local account to which the device | 261 // The identifier of the device-local account to which the device |
| 244 // should be logged in automatically. Should be equal to one of the | 262 // should be logged in automatically. Should be equal to one of the |
| 245 // ids in DeviceLocalAccountInfoProto. | 263 // ids in DeviceLocalAccountInfoProto. |
| 246 optional string auto_login_id = 2; | 264 optional string auto_login_id = 2; |
| 247 | 265 |
| 248 // The amount of time, in milliseconds, that should elapse at the signin | 266 // The amount of time, in milliseconds, that should elapse at the signin |
| 249 // screen without user interaction before automatically logging in. | 267 // screen without user interaction before automatically logging in. |
| 250 optional int64 auto_login_delay = 3; | 268 optional int64 auto_login_delay = 3; |
| 269 |
| 270 // Whether the keyboard shortcut to prevent zero-delay auto-login should be |
| 271 // enabled or not. If this keyboard shortcut is engaged, the auto-login will |
| 272 // be delayed by 3 minutes so administrators can log in or make configuration |
| 273 // changes. |
| 274 optional bool enable_auto_login_bailout = 4 [default = true]; |
| 251 } | 275 } |
| 252 | 276 |
| 253 message AllowRedeemChromeOsRegistrationOffersProto { | 277 message AllowRedeemChromeOsRegistrationOffersProto { |
| 254 // Chrome OS Registration service provides way for chromeos device users | 278 // Chrome OS Registration service provides way for chromeos device users |
| 255 // to redeem electronic offers provided by service provider. | 279 // to redeem electronic offers provided by service provider. |
| 256 // This value determines if users are allowed to redeem offers through | 280 // This value determines if users are allowed to redeem offers through |
| 257 // Chrome OS Registration service. | 281 // Chrome OS Registration service. |
| 258 optional bool allow_redeem_offers = 1 [default = true]; | 282 optional bool allow_redeem_offers = 1 [default = true]; |
| 259 } | 283 } |
| 260 | 284 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 optional StartUpUrlsProto start_up_urls = 18; | 335 optional StartUpUrlsProto start_up_urls = 18; |
| 312 optional PinnedAppsProto pinned_apps = 19; | 336 optional PinnedAppsProto pinned_apps = 19; |
| 313 optional SystemTimezoneProto system_timezone = 20; | 337 optional SystemTimezoneProto system_timezone = 20; |
| 314 optional DeviceLocalAccountsProto device_local_accounts = 21; | 338 optional DeviceLocalAccountsProto device_local_accounts = 21; |
| 315 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; | 339 optional AllowRedeemChromeOsRegistrationOffersProto allow_redeem_offers = 22; |
| 316 optional StartUpFlagsProto start_up_flags = 23; | 340 optional StartUpFlagsProto start_up_flags = 23; |
| 317 optional UptimeLimitProto uptime_limit = 24; | 341 optional UptimeLimitProto uptime_limit = 24; |
| 318 optional VariationsParameterProto variations_parameter = 25; | 342 optional VariationsParameterProto variations_parameter = 25; |
| 319 optional AttestationSettingsProto attestation_settings = 26; | 343 optional AttestationSettingsProto attestation_settings = 26; |
| 320 } | 344 } |
| OLD | NEW |