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 | |
12 package sync_pb; | 9 package sync_pb; |
13 | 10 |
14 // A flag to enable support for keystore encryption. | 11 // A flag to enable support for keystore encryption. |
15 message KeystoreEncryptionFlags { | 12 message KeystoreEncryptionFlags { |
16 optional bool enabled = 1; | 13 optional bool enabled = 1; |
17 } | 14 } |
18 | 15 |
19 // Contains one flag or set of related flags. Each node of the experiments type | 16 // Contains one flag or set of related flags. Each node of the experiments type |
20 // will have a unique_client_tag identifying which flags it contains. By | 17 // will have a unique_client_tag identifying which flags it contains. By |
21 // convention, the tag name should match the sub-message name. | 18 // convention, the tag name should match the sub-message name. |
22 message ExperimentsSpecifics { | 19 message ExperimentsSpecifics { |
23 optional KeystoreEncryptionFlags keystore_encryption = 1; | 20 optional KeystoreEncryptionFlags keystore_encryption = 1; |
24 } | 21 } |
OLD | NEW |