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

Side by Side Diff: sync/protocol/managed_user_specifics.proto

Issue 23653007: Avatar syncing for supervised users (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ... Created 7 years, 3 months 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 unified diff | Download patch
OLDNEW
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; 13 option retain_unknown_fields = true;
14 14
15 package sync_pb; 15 package sync_pb;
16 16
17 // Properties of managed user sync objects. 17 // Properties of managed user sync objects.
18 message ManagedUserSpecifics { 18 message ManagedUserSpecifics {
19 // A randomly-generated identifier for the managed user. 19 // A randomly-generated identifier for the managed user.
20 optional string id = 1; 20 optional string id = 1;
21 // The human-visible name of the managed user 21 // The human-visible name of the managed user
22 optional string name = 2; 22 optional string name = 2;
23 // This flag is set by the server to acknowledge that it has committed a 23 // This flag is set by the server to acknowledge that it has committed a
24 // newly created managed user. 24 // newly created managed user.
25 optional bool acknowledged = 3 [default = false]; 25 optional bool acknowledged = 3 [default = false];
26 // Master key for managed user cryptohome. 26 // Master key for managed user cryptohome.
27 optional string master_key = 4; 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;
28 } 36 }
OLDNEW
« no previous file with comments | « chrome/browser/managed_mode/managed_user_sync_service_unittest.cc ('k') | sync/protocol/proto_value_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698