| Index: chrome/browser/autocomplete/autocomplete_result.h
|
| diff --git a/chrome/browser/autocomplete/autocomplete_result.h b/chrome/browser/autocomplete/autocomplete_result.h
|
| index c4c79995733729a04208ad4d114000576eb90fcd..39447c78da45e8e95478f017174f7eaa17f636b3 100644
|
| --- a/chrome/browser/autocomplete/autocomplete_result.h
|
| +++ b/chrome/browser/autocomplete/autocomplete_result.h
|
| @@ -16,7 +16,7 @@
|
|
|
| class AutocompleteInput;
|
| class AutocompleteProvider;
|
| -class TemplateURLService;
|
| +class Profile;
|
|
|
| // 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 @@
|
| // comments in code for specifics.
|
| void CopyOldMatches(const AutocompleteInput& input,
|
| const AutocompleteResult& old_matches,
|
| - TemplateURLService* template_url_service);
|
| + Profile* profile);
|
|
|
| // Adds a new set of matches to the result set. Does not re-sort.
|
| void AppendMatches(const ACMatches& matches);
|
| @@ -75,8 +75,7 @@
|
| // 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,
|
| - TemplateURLService* template_url_service);
|
| + void SortAndCull(const AutocompleteInput& input, Profile* profile);
|
|
|
| // Returns true if at least one match was copied from the last result.
|
| bool HasCopiedMatches() const;
|
|
|