managed_user_specifics.proto 1.6 KB

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