Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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. | |
| 4 // | |
| 5 // Sync protocol datatype extension for nigori keys. | |
| 6 | |
| 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | |
| 8 // any fields in this file. | |
| 9 | |
| 10 syntax = "proto2"; | |
| 11 | |
| 12 option optimize_for = LITE_RUNTIME; | |
| 13 option retain_unknown_fields = true; | |
| 14 | |
| 15 package sync_pb; | |
| 16 | |
| 17 // Information about a device that is running a sync-enabled Chrome browser. | |
| 18 // We are mapping the unique per-device cache guid to more specific information | |
| 19 // about the device. | |
| 20 message DeviceInformation { | |
| 21 optional string cache_guid = 1; | |
| 22 | |
| 23 // The name of the device is dependent on the OS running the Chrome instance. | |
| 24 // On a Chromebook this is "Chromebook", on Linux the distribution name, on | |
| 25 // Mac OSX the hadware model name and on Windows the computer name. | |
| 26 optional string name = 2; | |
| 27 | |
| 28 // The platform of the device (ChromeOS, Linux, Mac, or Windows). | |
| 29 optional string platform = 3; | |
| 30 | |
| 31 // The Chrome version of the sync-enabled Chrome browser. | |
| 32 optional string chrome_version = 4; | |
| 33 } | |
| 34 | |
| 35 message PerDeviceSpecifics { | |
|
rlarocque
2012/08/11 01:31:52
Feel free to hold a bike-shed discussion about the
| |
| 36 optional DeviceInformation device_information = 1; | |
| 37 } | |
| OLD | NEW |