summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 21:14:03 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-30 21:14:03 +0000
commit94ae90b9e3ac759801997ff79d42fe27dff88139 (patch)
tree9f454072d60d6e65a99b1972649cb00371e7d779 /chrome/browser/history/history.cc
parent6f8013422aeb79649086c0ee99b3fa453b3738af (diff)
downloadchromium_src-94ae90b9e3ac759801997ff79d42fe27dff88139.zip
chromium_src-94ae90b9e3ac759801997ff79d42fe27dff88139.tar.gz
chromium_src-94ae90b9e3ac759801997ff79d42fe27dff88139.tar.bz2
Revert "Incorporate 'quick' history provider index as an autocomplete ..."
Broke AutocompleteEditViewTest.DesiredTLD and AutocompleteEditView.EscapeToDefaultMatch on Linux. TBR=mrossetti Review URL: http://codereview.chromium.org/3052031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54380 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history.cc')
-rw-r--r--chrome/browser/history/history.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/history/history.cc b/chrome/browser/history/history.cc
index c001298..aaec4207 100644
--- a/chrome/browser/history/history.cc
+++ b/chrome/browser/history/history.cc
@@ -222,16 +222,6 @@ history::URLDatabase* HistoryService::InMemoryDatabase() {
return NULL;
}
-history::InMemoryURLIndex* HistoryService::InMemoryIndex() {
- // NOTE: See comments in BackendLoaded() as to why we call
- // LoadBackendIfNecessary() here even though it won't affect the return value
- // for this call.
- LoadBackendIfNecessary();
- if (in_memory_backend_.get())
- return in_memory_backend_->index();
- return NULL;
-}
-
void HistoryService::SetSegmentPresentationIndex(int64 segment_id, int index) {
ScheduleAndForget(PRIORITY_UI,
&HistoryBackend::SetSegmentPresentationIndex,