| 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"; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 optional string username_element = 5; | 27 optional string username_element = 5; |
| 28 optional string username_value = 6; | 28 optional string username_value = 6; |
| 29 optional string password_element = 7; | 29 optional string password_element = 7; |
| 30 optional string password_value = 8; | 30 optional string password_value = 8; |
| 31 optional bool ssl_valid = 9; | 31 optional bool ssl_valid = 9; |
| 32 optional bool preferred = 10; | 32 optional bool preferred = 10; |
| 33 optional int64 date_created = 11; | 33 optional int64 date_created = 11; |
| 34 optional bool blacklisted = 12; | 34 optional bool blacklisted = 12; |
| 35 optional int32 type = 13; | 35 optional int32 type = 13; |
| 36 optional int32 times_used = 14; | 36 optional int32 times_used = 14; |
| 37 optional string display_name = 15; |
| 38 optional string avatar_url = 16; |
| 39 optional string federation_url = 17; |
| 37 } | 40 } |
| 38 | 41 |
| 39 // Properties of password sync objects. | 42 // Properties of password sync objects. |
| 40 message PasswordSpecifics { | 43 message PasswordSpecifics { |
| 41 // The actual password data. Contains an encrypted PasswordSpecificsData | 44 // The actual password data. Contains an encrypted PasswordSpecificsData |
| 42 // message. | 45 // message. |
| 43 optional EncryptedData encrypted = 1; | 46 optional EncryptedData encrypted = 1; |
| 44 // An unsynced field for use internally on the client. This field should | 47 // An unsynced field for use internally on the client. This field should |
| 45 // never be set in any network-based communications. | 48 // never be set in any network-based communications. |
| 46 optional PasswordSpecificsData client_only_encrypted_data = 2; | 49 optional PasswordSpecificsData client_only_encrypted_data = 2; |
| 47 } | 50 } |
| 48 | 51 |
| OLD | NEW |