| 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 "build/build_config.h" |
| 7 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" | 8 #include "chrome/browser/autocomplete/autocomplete_classifier_factory.h" |
| 8 #include "chrome/browser/autocomplete/chrome_autocomplete_provider_client.h" | 9 #include "chrome/browser/autocomplete/chrome_autocomplete_provider_client.h" |
| 9 #include "chrome/browser/history/history_service_factory.h" | 10 #include "chrome/browser/history/history_service_factory.h" |
| 10 #include "chrome/browser/predictors/predictor_database.h" | 11 #include "chrome/browser/predictors/predictor_database.h" |
| 11 #include "chrome/browser/search_engines/chrome_template_url_service_client.h" | 12 #include "chrome/browser/search_engines/chrome_template_url_service_client.h" |
| 12 #include "chrome/browser/search_engines/template_url_service_factory.h" | 13 #include "chrome/browser/search_engines/template_url_service_factory.h" |
| 13 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" | 14 #include "chrome/browser/search_engines/ui_thread_search_terms_data.h" |
| 14 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 15 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 15 #include "chrome/browser/ui/views/frame/browser_view.h" | 16 #include "chrome/browser/ui/views/frame/browser_view.h" |
| 16 #include "chrome/browser/web_data_service_factory.h" | 17 #include "chrome/browser/web_data_service_factory.h" |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 AutocompleteClassifierFactory::GetInstance()->SetTestingFactory( | 120 AutocompleteClassifierFactory::GetInstance()->SetTestingFactory( |
| 120 profile, &CreateAutocompleteClassifier); | 121 profile, &CreateAutocompleteClassifier); |
| 121 return profile; | 122 return profile; |
| 122 } | 123 } |
| 123 | 124 |
| 124 BrowserWindow* TestWithBrowserView::CreateBrowserWindow() { | 125 BrowserWindow* TestWithBrowserView::CreateBrowserWindow() { |
| 125 // Allow BrowserWithTestWindowTest to use Browser to create the default | 126 // Allow BrowserWithTestWindowTest to use Browser to create the default |
| 126 // BrowserView and BrowserFrame. | 127 // BrowserView and BrowserFrame. |
| 127 return nullptr; | 128 return nullptr; |
| 128 } | 129 } |
| OLD | NEW |