Index: chrome/browser/chromeos/policy/proto/chrome_device_policy.proto |
diff --git a/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto b/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto |
index ec401572adbd55474aa1ac2f12fd2f99899d6e75..2ee4a4922feaa243df80378a2ded63180b9140ba 100644 |
--- a/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto |
+++ b/chrome/browser/chromeos/policy/proto/chrome_device_policy.proto |
@@ -226,13 +226,31 @@ message SystemTimezoneProto { |
// Describes a single device-local account. |
message DeviceLocalAccountInfoProto { |
- // Identifier for the device-local account. Account identifiers loosely follow |
- // the conventions for email addresses as specified by RFC 5322, e.g. local |
- // (user name) and domain parts, separated by the '@' character. |
- // Policy-configured device-local accounts are on the same domain that the |
- // device is enrolled to. In contrast to RFC 5322 (which is more restrictive), |
- // the local part may contain any characters other than '@'. |
+ // Identifier for the device-local account. This is an opaque identifier that |
+ // is used to distinguish different device-local accounts configured. All |
+ // configured accounts on a device must have unique identifiers. |
optional string id = 1; |
+ |
+ // Indicates the type of device-local account. |
+ enum AccountType { |
+ // A login-less, policy-configured browsing session. |
+ ACCOUNT_TYPE_PUBLIC_SESSION = 0; |
+ // An account that serves as a container for a single full-screen app. |
+ ACCOUNT_TYPE_KIOSK_APP = 1; |
+ }; |
+ |
+ // The account type. |
+ optional AccountType type = 2 [default = ACCOUNT_TYPE_PUBLIC_SESSION]; |
+ |
+ // For ACCOUNT_TYPE_KIOSK_APP, indicates the app that should be run. The |
+ // string value should be a valid 32-character Chrome App identifier and |
+ // specifies the Kiosk App to download and run. |
+ optional string kiosk_app_id = 3; |
+ |
+ // Optional extension update URL to download the Kiosk App package from. If |
+ // not specified, the app will be downloaded from the standard Chrome Web |
+ // Store update URL. |
+ optional string kiosk_app_update_url = 4; |
} |
message DeviceLocalAccountsProto { |
@@ -248,6 +266,12 @@ message DeviceLocalAccountsProto { |
// The amount of time, in milliseconds, that should elapse at the signin |
// screen without user interaction before automatically logging in. |
optional int64 auto_login_delay = 3; |
+ |
+ // Whether the keyboard shortcut to prevent zero-delay auto-login should be |
+ // enabled or not. If this keyboard shortcut is engaged, the auto-login will |
+ // be delayed by 3 minutes so administrators can log in or make configuration |
+ // changes. |
+ optional bool enable_auto_login_bailout = 4 [default = true]; |
} |
message AllowRedeemChromeOsRegistrationOffersProto { |