summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
authorMark Pearson <mpearson@chromium.org>2016-02-09 13:34:48 -0800
committerMark Pearson <mpearson@chromium.org>2016-02-09 21:36:40 +0000
commit3d40035c85583ee38860377c5984be9dd26cd8d3 (patch)
tree3407b6476d7d6fb49fc440bfe0c888ad14116622 /ios
parente3a796a42615edf1f62f6bc8987fba51a8778ed3 (diff)
downloadchromium_src-3d40035c85583ee38860377c5984be9dd26cd8d3.zip
chromium_src-3d40035c85583ee38860377c5984be9dd26cd8d3.tar.gz
chromium_src-3d40035c85583ee38860377c5984be9dd26cd8d3.tar.bz2
Revert "Omnibox - HistoryQuickProvider - Cull Search Redirects Earlier"
This was the cause of a significant ommnibox performance review. See bug for details. TBR=pkasting TBR=sky TBR=droger BUG=574181 Review URL: https://codereview.chromium.org/1602253002 Cr-Commit-Position: refs/heads/master@{#370181} (cherry picked from commit e29e658dd6d2ac8ffd326c939a6d7d907a37ff2a) Review URL: https://codereview.chromium.org/1684793002 . Cr-Commit-Position: refs/branch-heads/2623@{#339} Cr-Branched-From: 92d77538a86529ca35f9220bd3cd512cbea1f086-refs/heads/master@{#369907}
Diffstat (limited to 'ios')
-rw-r--r--ios/chrome/browser/autocomplete/in_memory_url_index_factory.cc3
1 files changed, 0 insertions, 3 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 4ee7417..b9cf90d 100644
--- a/ios/chrome/browser/autocomplete/in_memory_url_index_factory.cc
+++ b/ios/chrome/browser/autocomplete/in_memory_url_index_factory.cc
@@ -16,7 +16,6 @@
#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"
@@ -36,7 +35,6 @@ 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(prefs::kAcceptLanguages),
schemes_to_whilelist));
@@ -64,7 +62,6 @@ InMemoryURLIndexFactory::InMemoryURLIndexFactory()
BrowserStateDependencyManager::GetInstance()) {
DependsOn(ios::BookmarkModelFactory::GetInstance());
DependsOn(ios::HistoryServiceFactory::GetInstance());
- DependsOn(ios::TemplateURLServiceFactory::GetInstance());
}
InMemoryURLIndexFactory::~InMemoryURLIndexFactory() {}