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; | 9 option optimize_for = LITE_RUNTIME; |
10 option retain_unknown_fields = true; | 10 option retain_unknown_fields = true; |
11 | 11 |
12 package sync_pb; | 12 package sync_pb; |
13 | 13 |
14 // A flag to enable support for keystore encryption. | 14 // A flag to enable support for keystore encryption. |
15 message KeystoreEncryptionFlags { | 15 message KeystoreEncryptionFlags { |
16 optional bool enabled = 1; | 16 optional bool enabled = 1; |
17 } | 17 } |
18 | 18 |
19 // Whether history delete directives are enabled. | 19 // Whether history delete directives are enabled. |
20 message HistoryDeleteDirectives { | 20 message HistoryDeleteDirectives { |
21 optional bool enabled = 1; | 21 optional bool enabled = 1; |
22 } | 22 } |
23 | 23 |
24 // Whether this client should cull (delete) expired autofill | 24 // Whether this client should cull (delete) expired autofill |
25 // entries when autofill sync is enabled. | 25 // entries when autofill sync is enabled. |
26 message AutofillCullingFlags { | 26 message AutofillCullingFlags { |
27 optional bool enabled = 1; | 27 optional bool enabled = 1; |
28 } | 28 } |
29 | 29 |
| 30 // Whether the favicon sync datatypes are enabled. |
| 31 message FaviconSyncFlags { |
| 32 optional bool enabled = 1; |
| 33 } |
| 34 |
30 // Contains one flag or set of related flags. Each node of the experiments type | 35 // Contains one flag or set of related flags. Each node of the experiments type |
31 // will have a unique_client_tag identifying which flags it contains. By | 36 // will have a unique_client_tag identifying which flags it contains. By |
32 // convention, the tag name should match the sub-message name. | 37 // convention, the tag name should match the sub-message name. |
33 message ExperimentsSpecifics { | 38 message ExperimentsSpecifics { |
34 optional KeystoreEncryptionFlags keystore_encryption = 1; | 39 optional KeystoreEncryptionFlags keystore_encryption = 1; |
35 optional HistoryDeleteDirectives history_delete_directives = 2; | 40 optional HistoryDeleteDirectives history_delete_directives = 2; |
36 optional AutofillCullingFlags autofill_culling = 3; | 41 optional AutofillCullingFlags autofill_culling = 3; |
| 42 optional FaviconSyncFlags favicon_sync = 4; |
37 } | 43 } |
OLD | NEW |