Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Side by Side Diff: sync/protocol/device_info_specifics.proto

Issue 10985008: sync: Add DeviceInfo protobuf and supporting code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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 import "sync_enums.proto";
18
19 // Information about a device that is running a sync-enabled Chrome browser.
20 // We are mapping the unique per-device cache guid to more specific information
21 // about the device.
22 message DeviceInfoSpecifics {
23 // The unique cache_guid created to identify a sync client on this device.
24 optional string cache_guid = 1;
25
26 // A non-unique but human readable name to describe this client.
27 optional string client_name = 2;
28
29 // The platform of the device (ChromeOS, Linux, Mac, or Windows).
Nicolas Zea 2012/09/26 01:50:59 remove the examples of platforms, it's better to j
rlarocque 2012/09/26 20:44:36 Done.
30 optional SyncEnums.DeviceType device_type = 3;
31
32 // The UserAgent used when contacting the Chrome Sync server.
33 optional string sync_user_agent = 4;
Nicolas Zea 2012/09/26 01:50:59 I don't think it makes sense to sync this around.
rlarocque 2012/09/26 20:44:36 Let's bring this up with Raz. We should also doub
34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698