Chromium Code Reviews| Index: chrome/browser/autocomplete/autocomplete_result.h |
| diff --git a/chrome/browser/autocomplete/autocomplete_result.h b/chrome/browser/autocomplete/autocomplete_result.h |
| index df3ab011d7da966f1ce52c32d890be8c0646ffa9..e0b7a319cb9cbb7c64970e2926f20ec94a7df8bd 100644 |
| --- a/chrome/browser/autocomplete/autocomplete_result.h |
| +++ b/chrome/browser/autocomplete/autocomplete_result.h |
| @@ -136,7 +136,8 @@ class AutocompleteResult { |
| // Adds a single match. The match is inserted at the appropriate position |
| // based on relevancy and display order. This is ONLY for use after |
| // SortAndCull() has been invoked, and preserves default_match_. |
| - void AddMatch(const AutocompleteMatch& match); |
| + void AddMatch(const AutocompleteInput& input, |
|
Peter Kasting
2013/08/06 19:33:50
I think you should just pass the actual PageClassi
Mark P
2013/08/06 22:00:15
Done (both places).
|
| + const AutocompleteMatch& match); |
| // Populates |provider_to_matches| from |matches_|. |
| void BuildProviderToMatches(ProviderToMatches* provider_to_matches) const; |
| @@ -148,7 +149,8 @@ class AutocompleteResult { |
| // Copies matches into this result. |old_matches| gives the matches from the |
| // last result, and |new_matches| the results from this result. |
| - void MergeMatchesByProvider(const ACMatches& old_matches, |
| + void MergeMatchesByProvider(const AutocompleteInput& input, |
| + const ACMatches& old_matches, |
| const ACMatches& new_matches); |
| ACMatches matches_; |