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

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

Issue 376413002: Stop using TemplateURLServiceTestUtil to initialize TemplateURLServiceFactory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add DefaultSearchPrefTestUtil Created 6 years, 5 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/search_provider_install_data_unittest.cc
diff --git a/chrome/browser/search_engines/search_provider_install_data_unittest.cc b/chrome/browser/search_engines/search_provider_install_data_unittest.cc
index 8e309be4f27cce27a3988a068816509daa0db7c5..9647d907a67cbd665409d0871749ff4ae2e3c600 100644
--- a/chrome/browser/search_engines/search_provider_install_data_unittest.cc
+++ b/chrome/browser/search_engines/search_provider_install_data_unittest.cc
@@ -15,6 +15,7 @@
#include "chrome/browser/search_engines/template_url_service_test_util.h"
#include "chrome/test/base/testing_pref_service_syncable.h"
#include "chrome/test/base/testing_profile.h"
+#include "components/search_engines/search_terms_data.h"
#include "components/search_engines/template_url.h"
#include "components/search_engines/template_url_prepopulate_data.h"
#include "components/search_engines/template_url_service.h"
@@ -154,8 +155,9 @@ void SearchProviderInstallDataTest::SetUp() {
#endif
util_.SetUp();
process_.reset(new content::MockRenderProcessHost(util_.profile()));
- install_data_ =
- new SearchProviderInstallData(util_.profile(), process_.get());
+ install_data_ = new SearchProviderInstallData(
+ util_.model(), SearchTermsData().GoogleBaseURLValue(), NULL,
+ process_.get());
}
void SearchProviderInstallDataTest::TearDown() {

Powered by Google App Engine
This is Rietveld 408576698