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 nigori keys. | 5 // Sync protocol datatype extension for nigori keys. |
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; | 13 option retain_unknown_fields = true; |
14 | 14 |
15 package sync_pb; | 15 package sync_pb; |
16 | 16 |
17 import "encryption.proto"; | 17 import "encryption.proto"; |
18 import "sync.proto"; | |
19 | 18 |
20 message NigoriKey { | 19 message NigoriKey { |
21 optional string name = 1; | 20 optional string name = 1; |
22 optional bytes user_key = 2; | 21 optional bytes user_key = 2; |
23 optional bytes encryption_key = 3; | 22 optional bytes encryption_key = 3; |
24 optional bytes mac_key = 4; | 23 optional bytes mac_key = 4; |
25 } | 24 } |
26 | 25 |
27 message NigoriKeyBag { | 26 message NigoriKeyBag { |
28 repeated NigoriKey key = 2; | 27 repeated NigoriKey key = 2; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 85 |
87 optional bool encrypt_extension_settings = 25; | 86 optional bool encrypt_extension_settings = 25; |
88 optional bool encrypt_app_notifications = 26; | 87 optional bool encrypt_app_notifications = 26; |
89 optional bool encrypt_app_settings = 27; | 88 optional bool encrypt_app_settings = 27; |
90 | 89 |
91 // User device information. Contains information about each device that has a | 90 // User device information. Contains information about each device that has a |
92 // sync-enabled Chrome browser connected to the user account. | 91 // sync-enabled Chrome browser connected to the user account. |
93 repeated DeviceInformation device_information = 28; | 92 repeated DeviceInformation device_information = 28; |
94 } | 93 } |
95 | 94 |
96 extend EntitySpecifics { | |
97 optional NigoriSpecifics nigori = 47745; | |
98 } | |
OLD | NEW |