OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/common/password_form_fill_data.h" | 5 #include "components/autofill/core/common/password_form_fill_data.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "components/autofill/common/form_field_data.h" | 8 #include "components/autofill/core/common/form_field_data.h" |
9 | 9 |
10 namespace autofill { | 10 namespace autofill { |
11 | 11 |
12 UsernamesCollectionKey::UsernamesCollectionKey() {} | 12 UsernamesCollectionKey::UsernamesCollectionKey() {} |
13 | 13 |
14 UsernamesCollectionKey::~UsernamesCollectionKey() {} | 14 UsernamesCollectionKey::~UsernamesCollectionKey() {} |
15 | 15 |
16 bool UsernamesCollectionKey::operator<( | 16 bool UsernamesCollectionKey::operator<( |
17 const UsernamesCollectionKey& other) const { | 17 const UsernamesCollectionKey& other) const { |
18 if (username != other.username) | 18 if (username != other.username) |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 UsernamesCollectionKey key; | 65 UsernamesCollectionKey key; |
66 key.username = iter->first; | 66 key.username = iter->first; |
67 key.password = iter->second->password_value; | 67 key.password = iter->second->password_value; |
68 result->other_possible_usernames[key] = | 68 result->other_possible_usernames[key] = |
69 iter->second->other_possible_usernames; | 69 iter->second->other_possible_usernames; |
70 } | 70 } |
71 } | 71 } |
72 } | 72 } |
73 | 73 |
74 } // namespace autofill | 74 } // namespace autofill |
OLD | NEW |