1 // Copyright (c) 2012 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 nigori keys.
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 import "sync_enums.proto";
19 // Information about a device that is running a sync-enabled Chrome browser. We
20 // are mapping the per-client cache guid to more specific information about the
22 message DeviceInfoSpecifics {
23 // The cache_guid created to identify a sync client on this device.
24 optional string cache_guid = 1;
26 // A non-unique but human readable name to describe this client.
27 optional string client_name = 2;
29 // The platform of the device.
30 optional SyncEnums.DeviceType device_type = 3;
32 // The UserAgent used when contacting the Chrome Sync server.
33 optional string sync_user_agent = 4;
35 // The Chrome instance's version. Updated (if necessary) on every startup.
36 optional string chrome_version = 5;
38 // Last time when pre-sync data on the device was saved. The device can be
39 // restored to state back to this time. In millisecond since UNIX epoch.
40 optional int64 backup_timestamp = 6;
42 // Device_id that is stable until user signs out. This device_id is used for
43 // annotating login scoped refresh token.
44 optional string signin_scoped_device_id = 7;