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 f67a2124292c10d0b9cfc043412c4b76d40705bc..228b323750faa10cbb73fee3c0b41833cf1f10fe 100644 |
--- a/chrome/browser/search_engines/template_url_service_factory.cc |
+++ b/chrome/browser/search_engines/template_url_service_factory.cc |
@@ -22,6 +22,10 @@ |
#include "components/search_engines/search_engines_pref_names.h" |
#include "components/search_engines/template_url_service.h" |
+#if defined(OS_WIN) |
+#include "components/search_engines/desktop_search_win.h" |
+#endif // defined(OS_WIN) |
+ |
#if defined(ENABLE_RLZ) |
#include "components/rlz/rlz_tracker.h" |
#endif |
@@ -79,6 +83,9 @@ void TemplateURLServiceFactory::RegisterProfilePrefs( |
user_prefs::PrefRegistrySyncable* registry) { |
DefaultSearchManager::RegisterProfilePrefs(registry); |
TemplateURLService::RegisterProfilePrefs(registry); |
+#if defined(OS_WIN) |
+ RegisterWindowsDesktopSearchRedirectionPref(registry); |
+#endif |
} |
content::BrowserContext* TemplateURLServiceFactory::GetBrowserContextToUse( |