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 experimental feature flags. | 5 // Sync protocol datatype extension for experimental feature flags. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
| 9 option optimize_for = LITE_RUNTIME; |
| 10 option retain_unknown_fields = true; |
| 11 |
9 package sync_pb; | 12 package sync_pb; |
10 | 13 |
11 // A flag to enable support for keystore encryption. | 14 // A flag to enable support for keystore encryption. |
12 message KeystoreEncryptionFlags { | 15 message KeystoreEncryptionFlags { |
13 optional bool enabled = 1; | 16 optional bool enabled = 1; |
14 } | 17 } |
15 | 18 |
16 // Whether history delete directives are enabled. | 19 // Whether history delete directives are enabled. |
17 message HistoryDeleteDirectives { | 20 message HistoryDeleteDirectives { |
18 optional bool enabled = 1; | 21 optional bool enabled = 1; |
19 } | 22 } |
20 | 23 |
21 // Contains one flag or set of related flags. Each node of the experiments type | 24 // Contains one flag or set of related flags. Each node of the experiments type |
22 // will have a unique_client_tag identifying which flags it contains. By | 25 // will have a unique_client_tag identifying which flags it contains. By |
23 // convention, the tag name should match the sub-message name. | 26 // convention, the tag name should match the sub-message name. |
24 message ExperimentsSpecifics { | 27 message ExperimentsSpecifics { |
25 optional KeystoreEncryptionFlags keystore_encryption = 1; | 28 optional KeystoreEncryptionFlags keystore_encryption = 1; |
26 optional HistoryDeleteDirectives history_delete_directives = 2; | 29 optional HistoryDeleteDirectives history_delete_directives = 2; |
27 } | 30 } |
OLD | NEW |