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

Unified Diff: sync/protocol/managed_user_shared_setting_specifics.proto

Issue 76333002: Add Sync datatype for shared managed user settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 7 years 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/public/base/model_type.h ('k') | sync/protocol/proto_value_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/protocol/managed_user_shared_setting_specifics.proto
diff --git a/sync/protocol/managed_user_shared_setting_specifics.proto b/sync/protocol/managed_user_shared_setting_specifics.proto
new file mode 100644
index 0000000000000000000000000000000000000000..6bd4ca302d162b5fca09311cc135794bac1f38e2
--- /dev/null
+++ b/sync/protocol/managed_user_shared_setting_specifics.proto
@@ -0,0 +1,29 @@
+// Copyright (c) 2013 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 managed user shared settings.
+
+// 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;
+
+// Properties of managed user shared setting sync objects.
+message ManagedUserSharedSettingSpecifics {
+ // The MU ID for the managed user to whom the setting applies.
+ optional string mu_id = 1;
+ // The key of the setting.
+ optional string key = 2;
+ // The setting value. The setting is a JSON encoding of an arbitrary
+ // Javascript value.
+ optional string value = 3;
+ // This flag is set by the server to acknowledge that it has committed a
+ // change to a setting.
+ optional bool acknowledged = 4 [default = false];
+}
« no previous file with comments | « sync/internal_api/public/base/model_type.h ('k') | sync/protocol/proto_value_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698