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

Unified Diff: chrome/browser/policy/proto/chrome_device_policy.proto

Issue 11358113: Add device policy definition for local accounts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix oversights. Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/proto/chrome_device_policy.proto
diff --git a/chrome/browser/policy/proto/chrome_device_policy.proto b/chrome/browser/policy/proto/chrome_device_policy.proto
index 4b3a77aab8c7846eb9b1d0bc089d3926d01125b9..0e9863e2cd612f655f584d62731bddb6937b93f2 100644
--- a/chrome/browser/policy/proto/chrome_device_policy.proto
+++ b/chrome/browser/policy/proto/chrome_device_policy.proto
@@ -220,6 +220,23 @@ message SystemTimezoneProto {
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 @@ message ChromeDeviceSettingsProto {
optional StartUpUrlsProto start_up_urls = 18;
optional PinnedAppsProto pinned_apps = 19;
optional SystemTimezoneProto system_timezone = 20;
+ optional DeviceLocalAccountsProto device_local_accounts = 21;
}
« no previous file with comments | « chrome/browser/policy/device_policy_decoder_chromeos.cc ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698