Index: chrome/browser/autocomplete/keyword_provider.h |
diff --git a/chrome/browser/autocomplete/keyword_provider.h b/chrome/browser/autocomplete/keyword_provider.h |
index bd5cb9e851f06598f0247cd69d10590bca548202..6406fb96b3d2bca950a72d4bdc031138277975e1 100644 |
--- a/chrome/browser/autocomplete/keyword_provider.h |
+++ b/chrome/browser/autocomplete/keyword_provider.h |
@@ -109,14 +109,14 @@ class KeywordProvider : public AutocompleteProvider, |
AutocompleteMatch* match); |
// Determines the relevance for some input, given its type, whether the user |
- // typed the complete keyword, and whether the keyword needs query text (true |
- // if the keyword supports replacement and the user isn't in "prefer keyword |
- // matches" mode). |
+ // typed the complete keyword, and whether the user is in "prefer keyword |
+ // matches" mode, and whether the keyword supports replacement. |
// If |allow_exact_keyword_match| is false, the relevance for complete |
- // keywords is degraded. |
+ // keywords that support replacements is degraded. |
static int CalculateRelevance(AutocompleteInput::Type type, |
bool complete, |
- bool no_query_text_needed, |
+ bool support_replacement, |
+ bool prefer_keyword, |
bool allow_exact_keyword_match); |
// Creates a fully marked-up AutocompleteMatch from the user's input. |