Chromium Code Reviews| Index: chrome/browser/search_engines/template_url_service_factory.cc |
| diff --git a/chrome/browser/search_engines/template_url_service_factory.cc b/chrome/browser/search_engines/template_url_service_factory.cc |
| index 43124af57863da7bd0f450d593d03860a08ad5ce..b5029612af4f6191f09639a1bfed4312117b9d93 100644 |
| --- a/chrome/browser/search_engines/template_url_service_factory.cc |
| +++ b/chrome/browser/search_engines/template_url_service_factory.cc |
| @@ -10,6 +10,7 @@ |
| #include "chrome/browser/google/google_url_tracker_factory.h" |
| #include "chrome/browser/history/history_service_factory.h" |
| #include "chrome/browser/profiles/incognito_helpers.h" |
| +#include "chrome/browser/search_engines/default_search_manager.h" |
| #include "chrome/browser/search_engines/template_url_service.h" |
| #include "chrome/browser/webdata/web_data_service_factory.h" |
| #include "chrome/common/pref_names.h" |
| @@ -124,6 +125,7 @@ void TemplateURLServiceFactory::RegisterProfilePrefs( |
| prefs::kDefaultSearchProviderSearchTermsReplacementKey, |
| std::string(), |
| user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); |
| + DefaultSearchManager::RegisterProfilePrefs(registry); |
|
gab
2014/04/23 20:00:18
I would prefer having this call at the top before
Cait (Slow)
2014/04/23 23:26:55
Done.
|
| } |
| content::BrowserContext* TemplateURLServiceFactory::GetBrowserContextToUse( |