| Index: chrome/browser/autocomplete/autocomplete_result.h
|
| diff --git a/chrome/browser/autocomplete/autocomplete_result.h b/chrome/browser/autocomplete/autocomplete_result.h
|
| index 39447c78da45e8e95478f017174f7eaa17f636b3..c4c79995733729a04208ad4d114000576eb90fcd 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_result.h
|
| +++ b/chrome/browser/autocomplete/autocomplete_result.h
|
| @@ -16,7 +16,7 @@
|
|
|
| class AutocompleteInput;
|
| class AutocompleteProvider;
|
| -class Profile;
|
| +class TemplateURLService;
|
|
|
| // All matches from all providers for a particular query. This also tracks
|
| // what the default match should be if the user doesn't manually select another
|
| @@ -67,7 +67,7 @@ class AutocompleteResult {
|
| // comments in code for specifics.
|
| void CopyOldMatches(const AutocompleteInput& input,
|
| const AutocompleteResult& old_matches,
|
| - Profile* profile);
|
| + TemplateURLService* template_url_service);
|
|
|
| // Adds a new set of matches to the result set. Does not re-sort.
|
| void AppendMatches(const ACMatches& matches);
|
| @@ -75,7 +75,8 @@ class AutocompleteResult {
|
| // Removes duplicates, puts the list in sorted order and culls to leave only
|
| // the best kMaxMatches matches. Sets the default match to the best match
|
| // and updates the alternate nav URL.
|
| - void SortAndCull(const AutocompleteInput& input, Profile* profile);
|
| + void SortAndCull(const AutocompleteInput& input,
|
| + TemplateURLService* template_url_service);
|
|
|
| // Returns true if at least one match was copied from the last result.
|
| bool HasCopiedMatches() const;
|
|
|