summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/search_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/search_provider.h')
-rw-r--r--chrome/browser/autocomplete/search_provider.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h
index 5ae50cc..982cf75 100644
--- a/chrome/browser/autocomplete/search_provider.h
+++ b/chrome/browser/autocomplete/search_provider.h
@@ -233,8 +233,10 @@ class SearchProvider : public AutocompleteProvider,
// algorithms for the different types of matches.
int CalculateRelevanceForWhatYouTyped() const;
// |time| is the time at which this query was last seen. |is_keyword| is true
- // if the search is from the keyword provider.
+ // if the search is from the keyword provider. |looks_like_url| is true if the
+ // search term would be treated as a URL if typed into the omnibox.
int CalculateRelevanceForHistory(const base::Time& time,
+ bool looks_like_url,
bool is_keyword) const;
// |result_number| is the index of the suggestion in the result set from the
// server; the best suggestion is suggestion number 0. |is_keyword| is true