OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 nigori keys. | 5 // Sync protocol datatype extension for nigori keys. |
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; |
| 13 option retain_unknown_fields = true; |
| 14 |
12 package sync_pb; | 15 package sync_pb; |
13 | 16 |
14 import "sync_enums.proto"; | 17 import "sync_enums.proto"; |
15 | 18 |
16 // Information about a device that is running a sync-enabled Chrome browser. We | 19 // Information about a device that is running a sync-enabled Chrome browser. We |
17 // are mapping the per-client cache guid to more specific information about the | 20 // are mapping the per-client cache guid to more specific information about the |
18 // device. | 21 // device. |
19 message DeviceInfoSpecifics { | 22 message DeviceInfoSpecifics { |
20 // The cache_guid created to identify a sync client on this device. | 23 // The cache_guid created to identify a sync client on this device. |
21 optional string cache_guid = 1; | 24 optional string cache_guid = 1; |
22 | 25 |
23 // A non-unique but human readable name to describe this client. | 26 // A non-unique but human readable name to describe this client. |
24 optional string client_name = 2; | 27 optional string client_name = 2; |
25 | 28 |
26 // The platform of the device. | 29 // The platform of the device. |
27 optional SyncEnums.DeviceType device_type = 3; | 30 optional SyncEnums.DeviceType device_type = 3; |
28 | 31 |
29 // The UserAgent used when contacting the Chrome Sync server. | 32 // The UserAgent used when contacting the Chrome Sync server. |
30 optional string sync_user_agent = 4; | 33 optional string sync_user_agent = 4; |
31 | 34 |
32 // The Chrome instance's version. Updated (if necessary) on every startup. | 35 // The Chrome instance's version. Updated (if necessary) on every startup. |
33 optional string chrome_version = 5; | 36 optional string chrome_version = 5; |
34 } | 37 } |
OLD | NEW |