OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 nigori keys. | 5 // Sync protocol datatype extension for nigori keys. |
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; |
(...skipping 13 matching lines...) Expand all Loading... |
24 message NigoriKeyBag { | 24 message NigoriKeyBag { |
25 repeated NigoriKey key = 2; | 25 repeated NigoriKey key = 2; |
26 } | 26 } |
27 | 27 |
28 // Properties of nigori sync object. | 28 // Properties of nigori sync object. |
29 message NigoriSpecifics { | 29 message NigoriSpecifics { |
30 optional EncryptedData encrypted = 1; | 30 optional EncryptedData encrypted = 1; |
31 // True if |encrypted| is encrypted using a passphrase | 31 // True if |encrypted| is encrypted using a passphrase |
32 // explicitly set by the user. | 32 // explicitly set by the user. |
33 optional bool using_explicit_passphrase = 2; | 33 optional bool using_explicit_passphrase = 2; |
| 34 |
| 35 // Booleans corresponding to whether a datatype should be encrypted. |
| 36 optional bool encrypt_bookmarks = 3; |
| 37 optional bool encrypt_preferences = 4; |
| 38 optional bool encrypt_passwords = 5; |
| 39 optional bool encrypt_autofill_profile = 6; |
| 40 optional bool encrypt_autofill = 7; |
| 41 optional bool encrypt_themes = 8; |
| 42 optional bool encrypt_typed_urls = 9; |
| 43 optional bool encrypt_extensions = 10; |
| 44 optional bool encrypt_sessions = 11; |
| 45 optional bool encrypt_apps = 12; |
34 } | 46 } |
35 | 47 |
36 extend EntitySpecifics { | 48 extend EntitySpecifics { |
37 optional NigoriSpecifics nigori = 47745; | 49 optional NigoriSpecifics nigori = 47745; |
38 } | 50 } |
39 | 51 |
OLD | NEW |