Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: chrome/browser/search_engines/template_url_service_sync_unittest.cc

Issue 367863005: No chrome dependencies in TemplateURLService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/search_engines/template_url_service_sync_unittest.cc
diff --git a/chrome/browser/search_engines/template_url_service_sync_unittest.cc b/chrome/browser/search_engines/template_url_service_sync_unittest.cc
index f5a500d0d949e1ac58f7ae730921960887110d49..1bca92234ea597398396b67023f54d1e614d21f2 100644
--- a/chrome/browser/search_engines/template_url_service_sync_unittest.cc
+++ b/chrome/browser/search_engines/template_url_service_sync_unittest.cc
@@ -235,8 +235,11 @@ void TemplateURLServiceSyncTest::SetUp() {
profile_b_.reset(new TestingProfile);
TemplateURLServiceFactory::GetInstance()->
RegisterUserPrefsOnBrowserContextForTest(profile_b_.get());
- model_b_.reset(new TemplateURLService(profile_b_.get(), NULL,
- base::Closure()));
+ model_b_.reset(new TemplateURLService(
+ profile_b_->GetPrefs(), scoped_ptr<SearchTermsData>(
+ new UIThreadSearchTermsData(profile_b_.get())),
+ NULL, scoped_ptr<KeywordHistoryServiceInterface>(), NULL, NULL,
+ base::Closure()));
model_b_->Load();
}

Powered by Google App Engine
This is Rietveld 408576698