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 #include "components/password_manager/core/browser/password_manager.h" | 5 #include "components/password_manager/core/browser/password_manager.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <map> | 9 #include <map> |
8 | 10 |
9 #include "base/command_line.h" | 11 #include "base/command_line.h" |
10 #include "base/metrics/field_trial.h" | 12 #include "base/metrics/field_trial.h" |
11 #include "base/metrics/histogram_macros.h" | 13 #include "base/metrics/histogram_macros.h" |
12 #include "base/prefs/pref_service.h" | 14 #include "base/prefs/pref_service.h" |
13 #include "base/strings/string_util.h" | 15 #include "base/strings/string_util.h" |
14 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
15 #include "base/threading/platform_thread.h" | 17 #include "base/threading/platform_thread.h" |
| 18 #include "build/build_config.h" |
16 #include "components/autofill/core/browser/autofill_field.h" | 19 #include "components/autofill/core/browser/autofill_field.h" |
17 #include "components/autofill/core/browser/form_structure.h" | 20 #include "components/autofill/core/browser/form_structure.h" |
18 #include "components/autofill/core/common/form_data_predictions.h" | 21 #include "components/autofill/core/common/form_data_predictions.h" |
19 #include "components/autofill/core/common/password_form_field_prediction_map.h" | 22 #include "components/autofill/core/common/password_form_field_prediction_map.h" |
20 #include "components/password_manager/core/browser/affiliation_utils.h" | 23 #include "components/password_manager/core/browser/affiliation_utils.h" |
21 #include "components/password_manager/core/browser/browser_save_password_progres
s_logger.h" | 24 #include "components/password_manager/core/browser/browser_save_password_progres
s_logger.h" |
22 #include "components/password_manager/core/browser/keychain_migration_status_mac
.h" | 25 #include "components/password_manager/core/browser/keychain_migration_status_mac
.h" |
23 #include "components/password_manager/core/browser/log_manager.h" | 26 #include "components/password_manager/core/browser/log_manager.h" |
24 #include "components/password_manager/core/browser/password_autofill_manager.h" | 27 #include "components/password_manager/core/browser/password_autofill_manager.h" |
25 #include "components/password_manager/core/browser/password_form_manager.h" | 28 #include "components/password_manager/core/browser/password_form_manager.h" |
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 matched_manager_it = iter; | 838 matched_manager_it = iter; |
836 current_match_result = result; | 839 current_match_result = result; |
837 } | 840 } |
838 } | 841 } |
839 if (matched_manager_it != pending_login_managers_.end()) | 842 if (matched_manager_it != pending_login_managers_.end()) |
840 return *matched_manager_it; | 843 return *matched_manager_it; |
841 return nullptr; | 844 return nullptr; |
842 } | 845 } |
843 | 846 |
844 } // namespace password_manager | 847 } // namespace password_manager |
OLD | NEW |