| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 // | 4 // |
| 5 // Sync protocol datatype extension for managed user shared settings. | 5 // Sync protocol datatype extension for managed user shared settings. |
| 6 | 6 |
| 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change | 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change |
| 8 // any fields in this file. | 8 // any fields in this file. |
| 9 | 9 |
| 10 syntax = "proto2"; | 10 syntax = "proto2"; |
| 11 | 11 |
| 12 option optimize_for = LITE_RUNTIME; | 12 option optimize_for = LITE_RUNTIME; |
| 13 option retain_unknown_fields = true; | 13 option retain_unknown_fields = true; |
| 14 | 14 |
| 15 package sync_pb; | 15 package sync_pb; |
| 16 | 16 |
| 17 // Properties of managed user shared setting sync objects. | 17 // Properties of managed user shared setting sync objects. |
| 18 message ManagedUserSharedSettingSpecifics { | 18 message ManagedUserSharedSettingSpecifics { |
| 19 // The MU ID for the managed user to whom the setting applies. | 19 // The MU ID for the managed user to whom the setting applies. |
| 20 optional string mu_id = 1; | 20 optional string mu_id = 1; |
| 21 // The key of the setting. | 21 // The key of the setting. |
| 22 optional string key = 2; | 22 optional string key = 2; |
| 23 // The setting value. The setting is a JSON encoding of an arbitrary | 23 // The setting value. The setting is a JSON encoding of an arbitrary |
| 24 // Javascript value. | 24 // Javascript value. |
| 25 optional string value = 3; | 25 optional string value = 3; |
| 26 // This flag is set by the server to acknowledge that it has committed a | 26 // This flag is set by the server to acknowledge that it has committed a |
| 27 // change to a setting. | 27 // change to a setting. |
| 28 optional bool acknowledged = 4 [default = false]; | 28 optional bool acknowledged = 4 [default = false]; |
| 29 } | 29 } |
| OLD | NEW |