| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 // For blacklisted forms: <empty>. | 68 // For blacklisted forms: <empty>. |
| 69 optional string username_value = 6; | 69 optional string username_value = 6; |
| 70 | 70 |
| 71 // Only for web-parsed forms - the name of the element containing password. | 71 // Only for web-parsed forms - the name of the element containing password. |
| 72 optional string password_element = 7; | 72 optional string password_element = 7; |
| 73 | 73 |
| 74 // For all: the password. | 74 // For all: the password. |
| 75 // For federated logins and blacklisted forms: <empty> | 75 // For federated logins and blacklisted forms: <empty> |
| 76 optional string password_value = 8; | 76 optional string password_value = 8; |
| 77 | 77 |
| 78 // Deprecated: http://crbug.com/413020 |
| 78 // True if the credential was saved for a HTTPS session with a valid SSL cert. | 79 // True if the credential was saved for a HTTPS session with a valid SSL cert. |
| 79 // Ignored for Android apps. | 80 // Ignored for Android apps. |
| 80 // Note: likely getting deprecated: http://crbug.com/413020 | |
| 81 optional bool ssl_valid = 9; | 81 optional bool ssl_valid = 9; |
| 82 | 82 |
| 83 // True for the last credential used for logging in on a given site. | 83 // True for the last credential used for logging in on a given site. |
| 84 optional bool preferred = 10; | 84 optional bool preferred = 10; |
| 85 | 85 |
| 86 // Time when the credential was created. Amount of microseconds since 1601. | 86 // Time when the credential was created. Amount of microseconds since 1601. |
| 87 optional int64 date_created = 11; | 87 optional int64 date_created = 11; |
| 88 | 88 |
| 89 // True, if user chose permanently not to save the credentials for the form. | 89 // True, if user chose permanently not to save the credentials for the form. |
| 90 optional bool blacklisted = 12; | 90 optional bool blacklisted = 12; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 113 // Properties of password sync objects. | 113 // Properties of password sync objects. |
| 114 message PasswordSpecifics { | 114 message PasswordSpecifics { |
| 115 // The actual password data. Contains an encrypted PasswordSpecificsData | 115 // The actual password data. Contains an encrypted PasswordSpecificsData |
| 116 // message. | 116 // message. |
| 117 optional EncryptedData encrypted = 1; | 117 optional EncryptedData encrypted = 1; |
| 118 // An unsynced field for use internally on the client. This field should | 118 // An unsynced field for use internally on the client. This field should |
| 119 // never be set in any network-based communications. | 119 // never be set in any network-based communications. |
| 120 optional PasswordSpecificsData client_only_encrypted_data = 2; | 120 optional PasswordSpecificsData client_only_encrypted_data = 2; |
| 121 } | 121 } |
| 122 | 122 |
| OLD | NEW |