summaryrefslogtreecommitdiffstats
path: root/sync/protocol/managed_user_specifics.proto
blob: 2a6f1b347a832fe42c774b2c58433145c578f402 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// Sync protocol datatype extension for managed user settings.

// Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
// any fields in this file.

syntax = "proto2";

option optimize_for = LITE_RUNTIME;
option retain_unknown_fields = true;

package sync_pb;

// Properties of managed user sync objects.
message ManagedUserSpecifics {
  // A randomly-generated identifier for the managed user.
  optional string id = 1;
  // The human-visible name of the managed user
  optional string name = 2;
  // This flag is set by the server to acknowledge that it has committed a
  // newly created managed user.
  optional bool acknowledged = 3 [default = false];
  // Master key for managed user cryptohome.
  optional string master_key = 4;
}