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
3 // found in the LICENSE file.
5 // Sync protocol datatype extension for managed user settings.
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file.
12 option optimize_for = LITE_RUNTIME;
13 option retain_unknown_fields = true;
17 // Properties of managed user sync objects.
18 message ManagedUserSpecifics {
19 // A randomly-generated identifier for the managed user.
20 optional string id = 1;
21 // The human-visible name of the managed user
22 optional string name = 2;
23 // This flag is set by the server to acknowledge that it has committed a
24 // newly created managed user.
25 optional bool acknowledged = 3 [default = false];
26 // Master key for managed user cryptohome.
27 optional string master_key = 4;
28 // A string representing the index of the supervised user avatar on Chrome.
29 // It has the following format:
30 // "chrome-avatar-index:INDEX" where INDEX is an integer.
31 optional string chrome_avatar = 5;
32 // A string representing the index of the supervised user avatar on Chrome OS.
33 // It has the following format:
34 // "chromeos-avatar-index:INDEX" where INDEX is an integer.
35 optional string chromeos_avatar = 6;
36 // Key for signing supervised user's password.
37 optional string password_signature_key = 7;
38 // Key for encrypting supervised user's password.
39 optional string password_encryption_key = 8;