| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "components/autofill/core/common/password_form_fill_data.h" | 5 #include "components/autofill/core/common/password_form_fill_data.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | |
| 8 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 9 #include "components/autofill/core/common/form_field_data.h" | 8 #include "components/autofill/core/common/form_field_data.h" |
| 10 | 9 |
| 11 namespace autofill { | 10 namespace autofill { |
| 12 | 11 |
| 13 UsernamesCollectionKey::UsernamesCollectionKey() {} | 12 UsernamesCollectionKey::UsernamesCollectionKey() {} |
| 14 | 13 |
| 15 UsernamesCollectionKey::~UsernamesCollectionKey() {} | 14 UsernamesCollectionKey::~UsernamesCollectionKey() {} |
| 16 | 15 |
| 17 bool UsernamesCollectionKey::operator<( | 16 bool UsernamesCollectionKey::operator<( |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 key.username = iter->first; | 74 key.username = iter->first; |
| 76 key.password = iter->second->password_value; | 75 key.password = iter->second->password_value; |
| 77 key.realm = iter->second->original_signon_realm; | 76 key.realm = iter->second->original_signon_realm; |
| 78 result->other_possible_usernames[key] = | 77 result->other_possible_usernames[key] = |
| 79 iter->second->other_possible_usernames; | 78 iter->second->other_possible_usernames; |
| 80 } | 79 } |
| 81 } | 80 } |
| 82 } | 81 } |
| 83 | 82 |
| 84 } // namespace autofill | 83 } // namespace autofill |
| OLD | NEW |