| 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 password data. | 5 // Sync protocol datatype extension for password data. |
| 6 | 6 |
| 7 syntax = "proto2"; | 7 syntax = "proto2"; |
| 8 | 8 |
| 9 option optimize_for = LITE_RUNTIME; | 9 // TODO(akalin): Re-enable this once LITE_RUNTIME supports preserving |
| 10 // unknown fields. |
| 11 |
| 12 // option optimize_for = LITE_RUNTIME; |
| 10 | 13 |
| 11 package sync_pb; | 14 package sync_pb; |
| 12 | 15 |
| 13 import "encryption.proto"; | 16 import "encryption.proto"; |
| 14 import "sync.proto"; | 17 import "sync.proto"; |
| 15 | 18 |
| 16 // These are the properties that get serialized into the |encrypted| field of | 19 // These are the properties that get serialized into the |encrypted| field of |
| 17 // PasswordSpecifics. | 20 // PasswordSpecifics. |
| 18 message PasswordSpecificsData { | 21 message PasswordSpecificsData { |
| 19 optional int32 scheme = 1; | 22 optional int32 scheme = 1; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 32 | 35 |
| 33 // Properties of password sync objects. The actual password data is held in a | 36 // Properties of password sync objects. The actual password data is held in a |
| 34 // PasswordSpecificsData that is encrypted into |encrypted|. | 37 // PasswordSpecificsData that is encrypted into |encrypted|. |
| 35 message PasswordSpecifics { | 38 message PasswordSpecifics { |
| 36 optional EncryptedData encrypted = 1; | 39 optional EncryptedData encrypted = 1; |
| 37 } | 40 } |
| 38 | 41 |
| 39 extend EntitySpecifics { | 42 extend EntitySpecifics { |
| 40 optional PasswordSpecifics password = 45873; | 43 optional PasswordSpecifics password = 45873; |
| 41 } | 44 } |
| OLD | NEW |