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 | 8 |
9 #include <limits> | 9 #include <limits> |
10 #include <map> | 10 #include <map> |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 #include "components/autofill/core/common/form_field_data.h" | 52 #include "components/autofill/core/common/form_field_data.h" |
53 #include "components/autofill/core/common/password_form_fill_data.h" | 53 #include "components/autofill/core/common/password_form_fill_data.h" |
54 #include "components/pref_registry/pref_registry_syncable.h" | 54 #include "components/pref_registry/pref_registry_syncable.h" |
55 #include "google_apis/gaia/identity_provider.h" | 55 #include "google_apis/gaia/identity_provider.h" |
56 #include "grit/components_strings.h" | 56 #include "grit/components_strings.h" |
57 #include "ui/base/l10n/l10n_util.h" | 57 #include "ui/base/l10n/l10n_util.h" |
58 #include "ui/gfx/geometry/rect.h" | 58 #include "ui/gfx/geometry/rect.h" |
59 #include "url/gurl.h" | 59 #include "url/gurl.h" |
60 | 60 |
61 #if defined(OS_IOS) | 61 #if defined(OS_IOS) |
62 #include "components/autofill/ios/browser/autofill_field_trial_ios.h" | 62 #include "components/autofill/core/browser/autofill_field_trial_ios.h" |
63 #include "components/autofill/ios/browser/keyboard_accessory_metrics_logger.h" | 63 #include "components/autofill/core/browser/keyboard_accessory_metrics_logger.h" |
64 #endif | 64 #endif |
65 | 65 |
66 namespace autofill { | 66 namespace autofill { |
67 | 67 |
68 using base::TimeTicks; | 68 using base::TimeTicks; |
69 | 69 |
70 namespace { | 70 namespace { |
71 | 71 |
72 // We only send a fraction of the forms to upload server. | 72 // We only send a fraction of the forms to upload server. |
73 // The rate for positive/negative matches potentially could be different. | 73 // The rate for positive/negative matches potentially could be different. |
(...skipping 1510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1584 if (i > 0) | 1584 if (i > 0) |
1585 fputs("Next oldest form:\n", file); | 1585 fputs("Next oldest form:\n", file); |
1586 } | 1586 } |
1587 fputs("\n", file); | 1587 fputs("\n", file); |
1588 | 1588 |
1589 fclose(file); | 1589 fclose(file); |
1590 } | 1590 } |
1591 #endif // ENABLE_FORM_DEBUG_DUMP | 1591 #endif // ENABLE_FORM_DEBUG_DUMP |
1592 | 1592 |
1593 } // namespace autofill | 1593 } // namespace autofill |
OLD | NEW |