| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 an extension setting. | 5 // Sync protocol datatype extension for an extension setting. |
| 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; | |
| 14 | 13 |
| 15 package sync_pb; | 14 package sync_pb; |
| 16 | 15 |
| 17 // Properties of extension setting sync objects. | 16 // Properties of extension setting sync objects. |
| 18 message ExtensionSettingSpecifics { | 17 message ExtensionSettingSpecifics { |
| 19 // Id of the extension the setting is for. | 18 // Id of the extension the setting is for. |
| 20 optional string extension_id = 1; | 19 optional string extension_id = 1; |
| 21 | 20 |
| 22 // Setting key. | 21 // Setting key. |
| 23 optional string key = 2; | 22 optional string key = 2; |
| 24 | 23 |
| 25 // Setting value serialized as JSON. | 24 // Setting value serialized as JSON. |
| 26 optional string value = 3; | 25 optional string value = 3; |
| 27 } | 26 } |
| OLD | NEW |