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