| 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 <vector> | 5 #include <vector> |
| 6 | 6 |
| 7 #include "base/macros.h" | 7 #include "base/macros.h" |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
| 10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
| 11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
| 12 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
| 13 #include "base/thread_task_runner_handle.h" | 13 #include "base/threading/thread_task_runner_handle.h" |
| 14 #include "components/autofill/core/browser/autocomplete_history_manager.h" | 14 #include "components/autofill/core/browser/autocomplete_history_manager.h" |
| 15 #include "components/autofill/core/browser/autofill_external_delegate.h" | 15 #include "components/autofill/core/browser/autofill_external_delegate.h" |
| 16 #include "components/autofill/core/browser/autofill_manager.h" | 16 #include "components/autofill/core/browser/autofill_manager.h" |
| 17 #include "components/autofill/core/browser/autofill_test_utils.h" | 17 #include "components/autofill/core/browser/autofill_test_utils.h" |
| 18 #include "components/autofill/core/browser/test_autofill_client.h" | 18 #include "components/autofill/core/browser/test_autofill_client.h" |
| 19 #include "components/autofill/core/browser/test_autofill_driver.h" | 19 #include "components/autofill/core/browser/test_autofill_driver.h" |
| 20 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 20 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
| 21 #include "components/autofill/core/common/form_data.h" | 21 #include "components/autofill/core/common/form_data.h" |
| 22 #include "components/prefs/pref_service.h" | 22 #include "components/prefs/pref_service.h" |
| 23 #include "components/webdata_services/web_data_service_test_util.h" | 23 #include "components/webdata_services/web_data_service_test_util.h" |
| (...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 OnSuggestionsReturned(0, | 260 OnSuggestionsReturned(0, |
| 261 testing::Truly(IsEmptySuggestionVector))); | 261 testing::Truly(IsEmptySuggestionVector))); |
| 262 autocomplete_history_manager.OnGetAutocompleteSuggestions( | 262 autocomplete_history_manager.OnGetAutocompleteSuggestions( |
| 263 0, | 263 0, |
| 264 field.name, | 264 field.name, |
| 265 field.value, | 265 field.value, |
| 266 field.form_control_type); | 266 field.form_control_type); |
| 267 } | 267 } |
| 268 | 268 |
| 269 } // namespace autofill | 269 } // namespace autofill |
| OLD | NEW |