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/browser/autofill_manager.h" | 5 #include "components/autofill/core/browser/autofill_manager.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <algorithm> | 10 #include <algorithm> |
11 #include <limits> | 11 #include <limits> |
12 #include <map> | 12 #include <map> |
13 #include <set> | 13 #include <set> |
14 #include <utility> | 14 #include <utility> |
15 | 15 |
16 #include "base/bind.h" | 16 #include "base/bind.h" |
17 #include "base/command_line.h" | 17 #include "base/command_line.h" |
18 #include "base/containers/adapters.h" | 18 #include "base/containers/adapters.h" |
19 #include "base/files/file_util.h" | 19 #include "base/files/file_util.h" |
20 #include "base/guid.h" | 20 #include "base/guid.h" |
21 #include "base/logging.h" | 21 #include "base/logging.h" |
22 #include "base/message_loop/message_loop.h" | 22 #include "base/message_loop/message_loop.h" |
23 #include "base/metrics/field_trial.h" | 23 #include "base/metrics/field_trial.h" |
24 #include "base/metrics/histogram_macros.h" | 24 #include "base/metrics/histogram_macros.h" |
25 #include "base/path_service.h" | 25 #include "base/path_service.h" |
26 #include "base/prefs/pref_service.h" | |
27 #include "base/strings/string16.h" | 26 #include "base/strings/string16.h" |
28 #include "base/strings/string_util.h" | 27 #include "base/strings/string_util.h" |
29 #include "base/strings/utf_string_conversions.h" | 28 #include "base/strings/utf_string_conversions.h" |
30 #include "base/threading/sequenced_worker_pool.h" | 29 #include "base/threading/sequenced_worker_pool.h" |
31 #include "base/threading/thread_restrictions.h" | 30 #include "base/threading/thread_restrictions.h" |
32 #include "build/build_config.h" | 31 #include "build/build_config.h" |
33 #include "components/autofill/core/browser/autocomplete_history_manager.h" | 32 #include "components/autofill/core/browser/autocomplete_history_manager.h" |
34 #include "components/autofill/core/browser/autofill_client.h" | 33 #include "components/autofill/core/browser/autofill_client.h" |
35 #include "components/autofill/core/browser/autofill_data_model.h" | 34 #include "components/autofill/core/browser/autofill_data_model.h" |
36 #include "components/autofill/core/browser/autofill_experiments.h" | 35 #include "components/autofill/core/browser/autofill_experiments.h" |
(...skipping 14 matching lines...) Expand all Loading... |
51 #include "components/autofill/core/common/autofill_constants.h" | 50 #include "components/autofill/core/common/autofill_constants.h" |
52 #include "components/autofill/core/common/autofill_data_validation.h" | 51 #include "components/autofill/core/common/autofill_data_validation.h" |
53 #include "components/autofill/core/common/autofill_pref_names.h" | 52 #include "components/autofill/core/common/autofill_pref_names.h" |
54 #include "components/autofill/core/common/autofill_switches.h" | 53 #include "components/autofill/core/common/autofill_switches.h" |
55 #include "components/autofill/core/common/autofill_util.h" | 54 #include "components/autofill/core/common/autofill_util.h" |
56 #include "components/autofill/core/common/form_data.h" | 55 #include "components/autofill/core/common/form_data.h" |
57 #include "components/autofill/core/common/form_data_predictions.h" | 56 #include "components/autofill/core/common/form_data_predictions.h" |
58 #include "components/autofill/core/common/form_field_data.h" | 57 #include "components/autofill/core/common/form_field_data.h" |
59 #include "components/autofill/core/common/password_form_fill_data.h" | 58 #include "components/autofill/core/common/password_form_fill_data.h" |
60 #include "components/pref_registry/pref_registry_syncable.h" | 59 #include "components/pref_registry/pref_registry_syncable.h" |
| 60 #include "components/prefs/pref_service.h" |
61 #include "google_apis/gaia/identity_provider.h" | 61 #include "google_apis/gaia/identity_provider.h" |
62 #include "grit/components_strings.h" | 62 #include "grit/components_strings.h" |
63 #include "ui/base/l10n/l10n_util.h" | 63 #include "ui/base/l10n/l10n_util.h" |
64 #include "ui/gfx/geometry/rect.h" | 64 #include "ui/gfx/geometry/rect.h" |
65 #include "url/gurl.h" | 65 #include "url/gurl.h" |
66 | 66 |
67 #if defined(OS_IOS) | 67 #if defined(OS_IOS) |
68 #include "components/autofill/core/browser/autofill_field_trial_ios.h" | 68 #include "components/autofill/core/browser/autofill_field_trial_ios.h" |
69 #include "components/autofill/core/browser/keyboard_accessory_metrics_logger.h" | 69 #include "components/autofill/core/browser/keyboard_accessory_metrics_logger.h" |
70 #endif | 70 #endif |
(...skipping 1656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1727 if (i > 0) | 1727 if (i > 0) |
1728 fputs("Next oldest form:\n", file); | 1728 fputs("Next oldest form:\n", file); |
1729 } | 1729 } |
1730 fputs("\n", file); | 1730 fputs("\n", file); |
1731 | 1731 |
1732 fclose(file); | 1732 fclose(file); |
1733 } | 1733 } |
1734 #endif // ENABLE_FORM_DEBUG_DUMP | 1734 #endif // ENABLE_FORM_DEBUG_DUMP |
1735 | 1735 |
1736 } // namespace autofill | 1736 } // namespace autofill |
OLD | NEW |