summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
Diffstat (limited to 'ios')
-rw-r--r--ios/chrome/browser/autocomplete/in_memory_url_index_factory.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ios/chrome/browser/autocomplete/in_memory_url_index_factory.cc b/ios/chrome/browser/autocomplete/in_memory_url_index_factory.cc
index 232f9d0..63995a2 100644
--- a/ios/chrome/browser/autocomplete/in_memory_url_index_factory.cc
+++ b/ios/chrome/browser/autocomplete/in_memory_url_index_factory.cc
@@ -14,6 +14,7 @@
#include "ios/chrome/browser/chrome_url_constants.h"
#include "ios/chrome/browser/history/history_service_factory.h"
#include "ios/chrome/browser/pref_names.h"
+#include "ios/chrome/browser/search_engines/template_url_service_factory.h"
#include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state.h"
#include "ios/web/public/web_thread.h"
@@ -33,6 +34,7 @@ scoped_ptr<KeyedService> BuildInMemoryURLIndex(web::BrowserState* context) {
ios::BookmarkModelFactory::GetForBrowserState(browser_state),
ios::HistoryServiceFactory::GetForBrowserState(
browser_state, ServiceAccessType::IMPLICIT_ACCESS),
+ ios::TemplateURLServiceFactory::GetForBrowserState(browser_state),
web::WebThread::GetBlockingPool(), browser_state->GetStatePath(),
browser_state->GetPrefs()->GetString(ios::prefs::kAcceptLanguages),
schemes_to_whilelist));