Chromium Code Reviews| Index: chrome/browser/autocomplete/search_provider.h |
| diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h |
| index 16f669f3bc095ccbc56d6f9629670011c1f3eece..6427ae7d7226d1d1182c8c3d44ad6ef1c5dff909 100644 |
| --- a/chrome/browser/autocomplete/search_provider.h |
| +++ b/chrome/browser/autocomplete/search_provider.h |
| @@ -73,6 +73,16 @@ class SearchProvider : public AutocompleteProvider, |
| const InstantSuggestion& suggestion); |
| void ClearInstantSuggestion(); |
| + // Sets |match| to be a search for |query|, using the default search provider |
| + // or current keyword provider (based on |is_keyword|). |original_query| and |
| + // |accepted_suggestion| are used to fill in AQS (Assisted Query Stats). |
| + // Returns true if successful (i.e., the |match| was filled in correctly). |
| + bool GetSearchWhatYouTypedMatch(const string16& query, |
|
Mark P
2013/04/09 23:59:11
I find this somewhat misleading. The match you're
sreeram
2013/04/11 20:37:54
Done.
|
| + const string16& original_query, |
| + int accepted_suggestion, |
| + bool is_keyword, |
| + AutocompleteMatch* match); |
| + |
| // AutocompleteProvider: |
| virtual void Start(const AutocompleteInput& input, |
| bool minimal_changes) OVERRIDE; |