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_CORE_COMMON_PASSWORD_FORM_H__ | 5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ |
6 #define COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ | 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 ~PasswordForm(); | 267 ~PasswordForm(); |
268 }; | 268 }; |
269 | 269 |
270 // Map username to PasswordForm* for convenience. See password_form_manager.h. | 270 // Map username to PasswordForm* for convenience. See password_form_manager.h. |
271 typedef std::map<base::string16, PasswordForm*> PasswordFormMap; | 271 typedef std::map<base::string16, PasswordForm*> PasswordFormMap; |
272 | 272 |
273 typedef std::map<base::string16, const PasswordForm*> ConstPasswordFormMap; | 273 typedef std::map<base::string16, const PasswordForm*> ConstPasswordFormMap; |
274 | 274 |
275 // For testing. | 275 // For testing. |
276 std::ostream& operator<<(std::ostream& os, PasswordForm::Layout layout); | 276 std::ostream& operator<<(std::ostream& os, PasswordForm::Layout layout); |
277 std::ostream& operator<<(std::ostream& os, | 277 std::ostream& operator<<(std::ostream& os, const autofill::PasswordForm& form); |
278 const autofill::PasswordForm& form); | 278 std::ostream& operator<<(std::ostream& os, autofill::PasswordForm* form); |
279 | 279 |
280 } // namespace autofill | 280 } // namespace autofill |
281 | 281 |
282 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ | 282 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ |
OLD | NEW |