| Index: chrome/browser/autocomplete/search_provider.h
|
| diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h
|
| index d7be6bf878ddb824e3321dd1da30c6541f97bce4..f995f8bf0dd71ccd46b5621d812b3f249d9dbff4 100644
|
| --- a/chrome/browser/autocomplete/search_provider.h
|
| +++ b/chrome/browser/autocomplete/search_provider.h
|
| @@ -160,19 +160,25 @@ class SearchProvider : public BaseSearchProvider,
|
| // AutocompleteProvider:
|
| virtual void Start(const AutocompleteInput& input,
|
| bool minimal_changes) OVERRIDE;
|
| + virtual void Stop(bool clear_cached_results) OVERRIDE;
|
|
|
| // BaseSearchProvider:
|
| virtual const TemplateURL* GetTemplateURL(bool is_keyword) const OVERRIDE;
|
| virtual const AutocompleteInput GetInput(bool is_keyword) const OVERRIDE;
|
| virtual bool ShouldAppendExtraParams(
|
| const SearchSuggestionParser::SuggestResult& result) const OVERRIDE;
|
| - virtual void StopSuggest() OVERRIDE;
|
| - virtual void ClearAllResults() OVERRIDE;
|
| virtual void RecordDeletionResult(bool success) OVERRIDE;
|
|
|
| // net::URLFetcherDelegate:
|
| virtual void OnURLFetchComplete(const net::URLFetcher* source) OVERRIDE;
|
|
|
| + // Stops the suggest query.
|
| + // NOTE: This does not update |done_|. Callers must do so.
|
| + void StopSuggest();
|
| +
|
| + // Clears the current results.
|
| + void ClearAllResults();
|
| +
|
| // Recalculates the match contents class of |results| to better display
|
| // against the current input and user's language.
|
| void UpdateMatchContentsClass(const base::string16& input_text,
|
|
|