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

Unified 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: Another missing include Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/internal_api/write_node.cc ('k') | sync/protocol/nigori_specifics.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/device_info_specifics.proto
diff --git a/sync/protocol/device_info_specifics.proto b/sync/protocol/device_info_specifics.proto
new file mode 100644
index 0000000000000000000000000000000000000000..67eb4698a7a970212292b5e8239cdf6d336a4649
--- /dev/null
+++ b/sync/protocol/device_info_specifics.proto
@@ -0,0 +1,37 @@
+// Copyright (c) 2012 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 nigori keys.
+
+// 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;
+
+import "sync_enums.proto";
+
+// Information about a device that is running a sync-enabled Chrome browser. We
+// are mapping the per-client cache guid to more specific information about the
+// device.
+message DeviceInfoSpecifics {
+ // The cache_guid created to identify a sync client on this device.
+ optional string cache_guid = 1;
+
+ // A non-unique but human readable name to describe this client.
+ optional string client_name = 2;
+
+ // The platform of the device.
+ optional SyncEnums.DeviceType device_type = 3;
+
+ // The UserAgent used when contacting the Chrome Sync server.
+ optional string sync_user_agent = 4;
+
+ // The Chrome instance's version. Updated (if necessary) on every startup.
+ optional string chrome_version = 5;
+}
« no previous file with comments | « sync/internal_api/write_node.cc ('k') | sync/protocol/nigori_specifics.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698