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 #ifndef COMPONENTS_AUTOFILL_COMMON_PASSWORD_FORM_FILL_DATA_H_ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_FILL_DATA_H_ |
6 #define COMPONENTS_AUTOFILL_COMMON_PASSWORD_FORM_FILL_DATA_H_ | 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_FILL_DATA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "components/autofill/common/form_data.h" | 11 #include "components/autofill/core/common/form_data.h" |
12 #include "content/public/common/password_form.h" | 12 #include "content/public/common/password_form.h" |
13 | 13 |
14 namespace autofill { | 14 namespace autofill { |
15 | 15 |
16 // Helper struct for PasswordFormFillData | 16 // Helper struct for PasswordFormFillData |
17 struct UsernamesCollectionKey { | 17 struct UsernamesCollectionKey { |
18 UsernamesCollectionKey(); | 18 UsernamesCollectionKey(); |
19 ~UsernamesCollectionKey(); | 19 ~UsernamesCollectionKey(); |
20 | 20 |
21 // Defined so that this struct can be used as a key in a std::map. | 21 // Defined so that this struct can be used as a key in a std::map. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 void InitPasswordFormFillData( | 62 void InitPasswordFormFillData( |
63 const content::PasswordForm& form_on_page, | 63 const content::PasswordForm& form_on_page, |
64 const content::PasswordFormMap& matches, | 64 const content::PasswordFormMap& matches, |
65 const content::PasswordForm* const preferred_match, | 65 const content::PasswordForm* const preferred_match, |
66 bool wait_for_username_before_autofill, | 66 bool wait_for_username_before_autofill, |
67 bool enable_other_possible_usernames, | 67 bool enable_other_possible_usernames, |
68 PasswordFormFillData* result); | 68 PasswordFormFillData* result); |
69 | 69 |
70 } // namespace autofill | 70 } // namespace autofill |
71 | 71 |
72 #endif // COMPONENTS_AUTOFILL_COMMON_PASSWORD_FORM_FILL_DATA_H__ | 72 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_FILL_DATA_H__ |
OLD | NEW |