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

Unified Diff: sync/protocol/per_device_specifics.proto

Issue 10825137: FYI: Control Data + Per-Device Metadata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add PER_USER_METADATA, refactor some encryption code Created 8 years, 4 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
Index: sync/protocol/per_device_specifics.proto
diff --git a/sync/protocol/per_device_specifics.proto b/sync/protocol/per_device_specifics.proto
new file mode 100644
index 0000000000000000000000000000000000000000..daec826dbdf915a59bf00648263526c1d59e5e42
--- /dev/null
+++ b/sync/protocol/per_device_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;
+
+// Information about a device that is running a sync-enabled Chrome browser.
+// We are mapping the unique per-device cache guid to more specific information
+// about the device.
+message DeviceInformation {
+ optional string cache_guid = 1;
+
+ // The name of the device is dependent on the OS running the Chrome instance.
+ // On a Chromebook this is "Chromebook", on Linux the distribution name, on
+ // Mac OSX the hadware model name and on Windows the computer name.
+ optional string name = 2;
+
+ // The platform of the device (ChromeOS, Linux, Mac, or Windows).
+ optional string platform = 3;
+
+ // The Chrome version of the sync-enabled Chrome browser.
+ optional string chrome_version = 4;
+}
+
+message PerDeviceSpecifics {
rlarocque 2012/08/11 01:31:52 Feel free to hold a bike-shed discussion about the
+ optional DeviceInformation device_information = 1;
+}

Powered by Google App Engine
This is Rietveld 408576698