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

Unified Diff: chrome/browser/sync/protocol/extension_setting_specifics.proto

Issue 7775008: Enable sync for the settings from the Extension Settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Review #6 Created 9 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/protocol/extension_setting_specifics.proto
diff --git a/chrome/browser/sync/protocol/extension_setting_specifics.proto b/chrome/browser/sync/protocol/extension_setting_specifics.proto
new file mode 100644
index 0000000000000000000000000000000000000000..ff9f029d4b0de9933162a30fb395f63bcc7859c7
--- /dev/null
+++ b/chrome/browser/sync/protocol/extension_setting_specifics.proto
@@ -0,0 +1,33 @@
+// Copyright (c) 2011 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 an extension setting.
+
+// 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.proto";
+
+// Properties of extension setting sync objects.
+message ExtensionSettingSpecifics {
+ // Id of the extension the setting is for.
+ optional string extension_id = 1;
+
+ // Setting key.
+ optional string key = 2;
+
+ // Setting value serialized as JSON.
+ optional string value = 3;
+}
+
+extend EntitySpecifics {
+ optional ExtensionSettingSpecifics extension_setting = 96159;
+}

Powered by Google App Engine
This is Rietveld 408576698