| 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 password data. | 5 // Sync protocol datatype extension for password data. |
| 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; | |
| 14 | 13 |
| 15 package sync_pb; | 14 package sync_pb; |
| 16 | 15 |
| 17 import "encryption.proto"; | 16 import "encryption.proto"; |
| 18 | 17 |
| 19 // These are the properties that get serialized into the |encrypted| field of | 18 // These are the properties that get serialized into the |encrypted| field of |
| 20 // PasswordSpecifics. They correspond to fields in autofill::PasswordForm. | 19 // PasswordSpecifics. They correspond to fields in autofill::PasswordForm. |
| 21 // | 20 // |
| 22 // Sync unique tag is calculated as | 21 // Sync unique tag is calculated as |
| 23 // EscapePath(origin) + "|" + | 22 // EscapePath(origin) + "|" + |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 | 111 |
| 113 // Properties of password sync objects. | 112 // Properties of password sync objects. |
| 114 message PasswordSpecifics { | 113 message PasswordSpecifics { |
| 115 // The actual password data. Contains an encrypted PasswordSpecificsData | 114 // The actual password data. Contains an encrypted PasswordSpecificsData |
| 116 // message. | 115 // message. |
| 117 optional EncryptedData encrypted = 1; | 116 optional EncryptedData encrypted = 1; |
| 118 // An unsynced field for use internally on the client. This field should | 117 // An unsynced field for use internally on the client. This field should |
| 119 // never be set in any network-based communications. | 118 // never be set in any network-based communications. |
| 120 optional PasswordSpecificsData client_only_encrypted_data = 2; | 119 optional PasswordSpecificsData client_only_encrypted_data = 2; |
| 121 } | 120 } |
| OLD | NEW |