| 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 "chrome/browser/ui/views/frame/test_with_browser_view.h" | 5 #include "chrome/browser/ui/views/frame/test_with_browser_view.h" |
| 6 | 6 |
| 7 #include "chrome/browser/autocomplete/autocomplete_classifier.h" | |
| 8 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" | 7 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" |
| 9 #include "chrome/browser/autocomplete/autocomplete_controller.h" | |
| 10 #include "chrome/browser/autocomplete/chrome_autocomplete_provider_client.h" | 8 #include "chrome/browser/autocomplete/chrome_autocomplete_provider_client.h" |
| 11 #include "chrome/browser/history/history_service_factory.h" | 9 #include "chrome/browser/history/history_service_factory.h" |
| 12 #include "chrome/browser/predictors/predictor_database.h" | 10 #include "chrome/browser/predictors/predictor_database.h" |
| 13 #include "chrome/browser/search_engines/chrome_template_url_service_client.h" | 11 #include "chrome/browser/search_engines/chrome_template_url_service_client.h" |
| 14 #include "chrome/browser/search_engines/template_url_service_factory.h" | 12 #include "chrome/browser/search_engines/template_url_service_factory.h" |
| 15 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" | 13 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" |
| 16 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 14 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 17 #include "chrome/browser/ui/views/frame/browser_view.h" | 15 #include "chrome/browser/ui/views/frame/browser_view.h" |
| 18 #include "chrome/browser/web_data_service_factory.h" | 16 #include "chrome/browser/web_data_service_factory.h" |
| 19 #include "chrome/test/base/browser_with_test_window_test.h" | 17 #include "chrome/test/base/browser_with_test_window_test.h" |
| 20 #include "chrome/test/base/scoped_testing_local_state.h" | 18 #include "chrome/test/base/scoped_testing_local_state.h" |
| 21 #include "chrome/test/base/testing_browser_process.h" | 19 #include "chrome/test/base/testing_browser_process.h" |
| 22 #include "chrome/test/base/testing_io_thread_state.h" | 20 #include "chrome/test/base/testing_io_thread_state.h" |
| 21 #include "components/omnibox/autocomplete_classifier.h" |
| 22 #include "components/omnibox/autocomplete_controller.h" |
| 23 #include "components/omnibox/test_scheme_classifier.h" | 23 #include "components/omnibox/test_scheme_classifier.h" |
| 24 #include "components/search_engines/search_terms_data.h" | 24 #include "components/search_engines/search_terms_data.h" |
| 25 #include "components/search_engines/template_url_service.h" | 25 #include "components/search_engines/template_url_service.h" |
| 26 #include "content/public/test/test_utils.h" | 26 #include "content/public/test/test_utils.h" |
| 27 | 27 |
| 28 #if defined(OS_CHROMEOS) | 28 #if defined(OS_CHROMEOS) |
| 29 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" | 29 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" |
| 30 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h" | 30 #include "chrome/browser/chromeos/input_method/mock_input_method_manager.h" |
| 31 #endif | 31 #endif |
| 32 | 32 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 AutocompleteClassifierFactory::GetInstance()->SetTestingFactory( | 119 AutocompleteClassifierFactory::GetInstance()->SetTestingFactory( |
| 120 profile, &CreateAutocompleteClassifier); | 120 profile, &CreateAutocompleteClassifier); |
| 121 return profile; | 121 return profile; |
| 122 } | 122 } |
| 123 | 123 |
| 124 BrowserWindow* TestWithBrowserView::CreateBrowserWindow() { | 124 BrowserWindow* TestWithBrowserView::CreateBrowserWindow() { |
| 125 // Allow BrowserWithTestWindowTest to use Browser to create the default | 125 // Allow BrowserWithTestWindowTest to use Browser to create the default |
| 126 // BrowserView and BrowserFrame. | 126 // BrowserView and BrowserFrame. |
| 127 return nullptr; | 127 return nullptr; |
| 128 } | 128 } |
| OLD | NEW |