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 <algorithm> | 9 #include <algorithm> |
10 #include <memory> | 10 #include <memory> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/format_macros.h" | 14 #include "base/format_macros.h" |
15 #include "base/macros.h" | 15 #include "base/macros.h" |
16 #include "base/memory/ref_counted.h" | 16 #include "base/memory/ref_counted.h" |
17 #include "base/memory/scoped_vector.h" | 17 #include "base/memory/scoped_vector.h" |
18 #include "base/run_loop.h" | 18 #include "base/run_loop.h" |
19 #include "base/strings/string16.h" | 19 #include "base/strings/string16.h" |
20 #include "base/strings/string_number_conversions.h" | 20 #include "base/strings/string_number_conversions.h" |
21 #include "base/strings/string_util.h" | 21 #include "base/strings/string_util.h" |
22 #include "base/strings/stringprintf.h" | 22 #include "base/strings/stringprintf.h" |
23 #include "base/strings/utf_string_conversions.h" | 23 #include "base/strings/utf_string_conversions.h" |
24 #include "base/test/histogram_tester.h" | 24 #include "base/test/histogram_tester.h" |
25 #include "base/thread_task_runner_handle.h" | 25 #include "base/threading/thread_task_runner_handle.h" |
26 #include "base/time/time.h" | 26 #include "base/time/time.h" |
27 #include "build/build_config.h" | 27 #include "build/build_config.h" |
28 #include "components/autofill/core/browser/autocomplete_history_manager.h" | 28 #include "components/autofill/core/browser/autocomplete_history_manager.h" |
29 #include "components/autofill/core/browser/autofill_download_manager.h" | 29 #include "components/autofill/core/browser/autofill_download_manager.h" |
30 #include "components/autofill/core/browser/autofill_profile.h" | 30 #include "components/autofill/core/browser/autofill_profile.h" |
31 #include "components/autofill/core/browser/autofill_test_utils.h" | 31 #include "components/autofill/core/browser/autofill_test_utils.h" |
32 #include "components/autofill/core/browser/credit_card.h" | 32 #include "components/autofill/core/browser/credit_card.h" |
33 #include "components/autofill/core/browser/personal_data_manager.h" | 33 #include "components/autofill/core/browser/personal_data_manager.h" |
34 #include "components/autofill/core/browser/popup_item_ids.h" | 34 #include "components/autofill/core/browser/popup_item_ids.h" |
35 #include "components/autofill/core/browser/test_autofill_client.h" | 35 #include "components/autofill/core/browser/test_autofill_client.h" |
(...skipping 4995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5031 FormsSeen(mixed_forms); | 5031 FormsSeen(mixed_forms); |
5032 | 5032 |
5033 // Suggestions should always be displayed. | 5033 // Suggestions should always be displayed. |
5034 for (const FormFieldData& field : mixed_form.fields) { | 5034 for (const FormFieldData& field : mixed_form.fields) { |
5035 GetAutofillSuggestions(mixed_form, field); | 5035 GetAutofillSuggestions(mixed_form, field); |
5036 EXPECT_TRUE(external_delegate_->on_suggestions_returned_seen()); | 5036 EXPECT_TRUE(external_delegate_->on_suggestions_returned_seen()); |
5037 } | 5037 } |
5038 } | 5038 } |
5039 | 5039 |
5040 } // namespace autofill | 5040 } // namespace autofill |
OLD | NEW |