summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbertb@google.com <albertb@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-01 23:15:12 +0000
committeralbertb@google.com <albertb@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-01 23:15:12 +0000
commit7291d48d34474ba743865ec1176d7b9abc0af580 (patch)
tree0aca257f885f1cf7ec295b5be2edff121d6642c6
parent8396a3e147d9639f71e674d814b9e72b654bad28 (diff)
downloadchromium_src-7291d48d34474ba743865ec1176d7b9abc0af580.zip
chromium_src-7291d48d34474ba743865ec1176d7b9abc0af580.tar.gz
chromium_src-7291d48d34474ba743865ec1176d7b9abc0af580.tar.bz2
Proto extenions to sync preferences.
BUG=none TEST=none Review URL: http://codereview.chromium.org/561003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37761 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/sync/protocol/preference_specifics.proto23
1 files changed, 23 insertions, 0 deletions
diff --git a/chrome/browser/sync/protocol/preference_specifics.proto b/chrome/browser/sync/protocol/preference_specifics.proto
new file mode 100644
index 0000000..9caad94
--- /dev/null
+++ b/chrome/browser/sync/protocol/preference_specifics.proto
@@ -0,0 +1,23 @@
+// Copyright (c) 2010 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 preferences.
+
+syntax = "proto2";
+
+option optimize_for = LITE_RUNTIME;
+
+package sync_pb;
+
+import "sync.proto";
+
+// Properties of preference sync objects.
+message PreferenceSpecifics {
+ required string name = 1;
+ required string value = 2;
+}
+
+extend EntitySpecifics {
+ optional PreferenceSpecifics preference = 37702;
+}