| Index: chrome/browser/autocomplete/search_provider.h
|
| ===================================================================
|
| --- chrome/browser/autocomplete/search_provider.h (revision 91576)
|
| +++ chrome/browser/autocomplete/search_provider.h (working copy)
|
| @@ -232,12 +232,14 @@
|
| // Determines the relevance for a particular match. We use different scoring
|
| // 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. |looks_like_url| is true if the
|
| - // search term would be treated as a URL if typed into the omnibox.
|
| + // |time| is the time at which this query was last seen.
|
| + // |is_primary_provider| is true if this match comes from the primary provider
|
| + // for the user's input (e.g. the keyword provider for a keyword input).
|
| + // |prevent_inline_autocomplete| is true if we should not inline autocomplete
|
| + // this query.
|
| int CalculateRelevanceForHistory(const base::Time& time,
|
| - bool looks_like_url,
|
| - bool is_keyword) const;
|
| + bool is_primary_provider,
|
| + bool prevent_inline_autocomplete) 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
|
| // if the search is from the keyword provider.
|
|
|