summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_history_api.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/extensions/extension_history_api.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/extensions/extension_history_api.cc')
-rw-r--r--chrome/browser/extensions/extension_history_api.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_history_api.cc b/chrome/browser/extensions/extension_history_api.cc
index 8437a70..ee856de 100644
--- a/chrome/browser/extensions/extension_history_api.cc
+++ b/chrome/browser/extensions/extension_history_api.cc
@@ -245,7 +245,6 @@ bool SearchHistoryFunction::RunAsyncImpl() {
EXTENSION_FUNCTION_VALIDATE(json->GetString(keys::kSearchKey, &search_text));
history::QueryOptions options;
- options.most_recent_visit_only = true;
options.SetRecentDayRange(1);
options.max_count = 100;