| Index: chrome/browser/profile_resetter/profile_resetter_unittest.cc
|
| diff --git a/chrome/browser/profile_resetter/profile_resetter_unittest.cc b/chrome/browser/profile_resetter/profile_resetter_unittest.cc
|
| index e88fbb275eacd4cafb558c2928848768b7c23620..91edf126a2a282ddf4a53d5179a7058cfa4e1c3e 100644
|
| --- a/chrome/browser/profile_resetter/profile_resetter_unittest.cc
|
| +++ b/chrome/browser/profile_resetter/profile_resetter_unittest.cc
|
| @@ -20,9 +20,11 @@
|
| #include "chrome/browser/profile_resetter/resettable_settings_snapshot.h"
|
| #include "chrome/browser/search_engines/template_url_service.h"
|
| #include "chrome/browser/search_engines/template_url_service_factory.h"
|
| +#include "chrome/browser/search_engines/ui_thread_search_terms_data.h"
|
| #include "chrome/browser/themes/theme_service.h"
|
| #include "chrome/browser/themes/theme_service_factory.h"
|
| #include "chrome/browser/ui/tabs/tab_strip_model.h"
|
| +#include "chrome/browser/webdata/web_data_service_factory.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/test/base/browser_with_test_window_test.h"
|
| #include "components/google/core/browser/google_pref_names.h"
|
| @@ -145,8 +147,14 @@ void ProfileResetterTest::SetUp() {
|
| // static
|
| KeyedService* ProfileResetterTest::CreateTemplateURLService(
|
| content::BrowserContext* context) {
|
| - return new TemplateURLService(static_cast<Profile*>(context), NULL,
|
| - base::Closure());
|
| + Profile* profile = static_cast<Profile*>(context);
|
| + return new TemplateURLService(
|
| + profile->GetPrefs(),
|
| + scoped_ptr<SearchTermsData>(new UIThreadSearchTermsData(profile)),
|
| + WebDataServiceFactory::GetKeywordWebDataForProfile(
|
| + profile, Profile::EXPLICIT_ACCESS),
|
| + scoped_ptr<KeywordHistoryServiceInterface>(), NULL, NULL,
|
| + base::Closure());
|
| }
|
|
|
|
|
|
|