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 464441bce1f5adef08af56033d8ee276be2ceedc..85fd605b074b7b75a69359776dcc126ccd6fe1e6 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 "base/memory/ptr_util.h" |
#include "build/build_config.h" |
#include "chrome/browser/browser_process.h" |
+#include "chrome/browser/extensions/api/preference/preference_api.h" |
#include "chrome/browser/google/google_url_tracker_factory.h" |
#include "chrome/browser/history/history_service_factory.h" |
#include "chrome/browser/profiles/incognito_helpers.h" |
@@ -57,7 +58,8 @@ std::unique_ptr<KeyedService> TemplateURLServiceFactory::BuildInstanceFor( |
std::unique_ptr<TemplateURLServiceClient>( |
new ChromeTemplateURLServiceClient( |
HistoryServiceFactory::GetForProfile( |
- profile, ServiceAccessType::EXPLICIT_ACCESS))), |
+ profile, ServiceAccessType::EXPLICIT_ACCESS), |
+ extensions::PreferenceAPI::Get(profile))), |
GoogleURLTrackerFactory::GetForProfile(profile), |
g_browser_process->rappor_service(), dsp_change_callback); |
} |