Index: chrome/browser/search_engines/template_url_service_factory_test_util.cc |
diff --git a/chrome/browser/search_engines/template_url_service_factory_test_util.cc b/chrome/browser/search_engines/template_url_service_factory_test_util.cc |
index b59e1cb186de18c913e1636058777189029e65d5..ec03cfa7b3f3e39da4761cc8c4b55016c55bc359 100644 |
--- a/chrome/browser/search_engines/template_url_service_factory_test_util.cc |
+++ b/chrome/browser/search_engines/template_url_service_factory_test_util.cc |
@@ -7,7 +7,6 @@ |
#include "base/run_loop.h" |
#include "chrome/browser/search_engines/template_url_service_factory.h" |
#include "chrome/test/base/testing_profile.h" |
-#include "components/search_engines/default_search_pref_test_util.h" |
#include "components/search_engines/template_url_service.h" |
#include "components/sync_preferences/testing_pref_service_syncable.h" |
@@ -30,28 +29,6 @@ void TemplateURLServiceFactoryTestUtil::VerifyLoad() { |
base::RunLoop().RunUntilIdle(); |
} |
-void TemplateURLServiceFactoryTestUtil::SetManagedDefaultSearchPreferences( |
- bool enabled, |
- const std::string& name, |
- const std::string& keyword, |
- const std::string& search_url, |
- const std::string& suggest_url, |
- const std::string& icon_url, |
- const std::string& encodings, |
- const std::string& alternate_url, |
- const std::string& search_terms_replacement_key) { |
- DefaultSearchPrefTestUtil::SetManagedPref( |
- profile_->GetTestingPrefService(), |
- enabled, name, keyword, search_url, suggest_url, icon_url, encodings, |
- alternate_url, search_terms_replacement_key); |
-} |
- |
-void |
-TemplateURLServiceFactoryTestUtil::RemoveManagedDefaultSearchPreferences() { |
- DefaultSearchPrefTestUtil::RemoveManagedPref( |
- profile_->GetTestingPrefService()); |
-} |
- |
TemplateURLService* TemplateURLServiceFactoryTestUtil::model() const { |
return TemplateURLServiceFactory::GetForProfile(profile_); |
} |