summaryrefslogtreecommitdiffstats
path: root/chrome/browser/possible_url_model.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 23:12:17 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-03 23:12:17 +0000
commit755bbc4326d8c6c05900d681e232ec7b069e25c2 (patch)
tree34bcacd3235024c11e5f6831302e8081d8bd7def /chrome/browser/possible_url_model.cc
parent819c9c270122b9d37498dd3f77d779b0cb5346e2 (diff)
downloadchromium_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/possible_url_model.cc')
-rw-r--r--chrome/browser/possible_url_model.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/possible_url_model.cc b/chrome/browser/possible_url_model.cc
index 2f73ed9..7fb38f9 100644
--- a/chrome/browser/possible_url_model.cc
+++ b/chrome/browser/possible_url_model.cc
@@ -47,7 +47,6 @@ void PossibleURLModel::Reload(Profile *profile) {
options.end_time = Time::Now();
options.begin_time =
options.end_time - TimeDelta::FromDays(kPossibleURLTimeScope);
- options.most_recent_visit_only = true;
options.max_count = 50;
hs->QueryHistory(std::wstring(), options, &consumer_,