Add device policy definition for local accounts.
BUG=chromium-os:35715
TEST=None
Review URL: https://chromiumcodereview.appspot.com/11358113
git-svn-id: http://src.chromium.org/svn/trunk/src/chrome/browser/policy/proto@168236 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
diff --git a/chrome_device_policy.proto b/chrome_device_policy.proto
index 4b3a77a..0e9863e 100644
--- a/chrome_device_policy.proto
+++ b/chrome_device_policy.proto
@@ -220,6 +220,23 @@
optional string timezone = 1;
}
+// 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 '@'.
+ optional string id = 1;
+}
+
+message DeviceLocalAccountsProto {
+ // The list of device-local accounts (i.e. accounts without an associated
+ // cloud-backed profile) that are available on the device.
+ repeated DeviceLocalAccountInfoProto account = 1;
+}
+
message ChromeDeviceSettingsProto {
optional DevicePolicyRefreshRateProto device_policy_refresh_rate = 1;
optional UserWhitelistProto user_whitelist = 2;
@@ -241,4 +258,5 @@
optional StartUpUrlsProto start_up_urls = 18;
optional PinnedAppsProto pinned_apps = 19;
optional SystemTimezoneProto system_timezone = 20;
+ optional DeviceLocalAccountsProto device_local_accounts = 21;
}