diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 23:12:17 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-03 23:12:17 +0000 |
commit | 755bbc4326d8c6c05900d681e232ec7b069e25c2 (patch) | |
tree | 34bcacd3235024c11e5f6831302e8081d8bd7def /chrome/browser/autocomplete/history_contents_provider.cc | |
parent | 819c9c270122b9d37498dd3f77d779b0cb5346e2 (diff) | |
download | chromium_src-755bbc4326d8c6c05900d681e232ec7b069e25c2.zip chromium_src-755bbc4326d8c6c05900d681e232ec7b069e25c2.tar.gz chromium_src-755bbc4326d8c6c05900d681e232ec7b069e25c2.tar.bz2 |
Eliminate QueryOptions::most_recent_visit_only. All non-unittest consumers of this set it to true, so just turn it on unconditionally.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/341087
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30880 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/history_contents_provider.cc')
-rw-r--r-- | chrome/browser/autocomplete/history_contents_provider.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/autocomplete/history_contents_provider.cc b/chrome/browser/autocomplete/history_contents_provider.cc index d4d264e..8a950ca 100644 --- a/chrome/browser/autocomplete/history_contents_provider.cc +++ b/chrome/browser/autocomplete/history_contents_provider.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -118,7 +118,6 @@ void HistoryContentsProvider::Start(const AutocompleteInput& input, history::QueryOptions options; options.SetRecentDayRange(kDaysToSearch); - options.most_recent_visit_only = true; options.max_count = kMaxMatchCount; history->QueryHistory(input.text(), options, &request_consumer_, NewCallback(this, &HistoryContentsProvider::QueryComplete)); |