| Index: chrome/browser/autocomplete/base_search_provider.h
|
| diff --git a/chrome/browser/autocomplete/base_search_provider.h b/chrome/browser/autocomplete/base_search_provider.h
|
| index 1acb973289093e7433dfaa617083f3c2831315a2..a0f1d985e84403119570ed1cb2fbdd9ff44c9c33 100644
|
| --- a/chrome/browser/autocomplete/base_search_provider.h
|
| +++ b/chrome/browser/autocomplete/base_search_provider.h
|
| @@ -43,6 +43,7 @@ class BaseSearchProvider : public AutocompleteProvider,
|
| static bool ShouldPrefetch(const AutocompleteMatch& match);
|
|
|
| // AutocompleteProvider:
|
| + virtual void Stop(bool clear_cached_results) OVERRIDE;
|
| virtual void AddProviderInfo(ProvidersInfo* provider_info) const OVERRIDE;
|
|
|
| bool field_trial_triggered_in_session() const {
|
| @@ -358,6 +359,13 @@ class BaseSearchProvider : public AutocompleteProvider,
|
| // should contain command-line-specified query params.
|
| virtual bool ShouldAppendExtraParams(const SuggestResult& result) const = 0;
|
|
|
| + // Stops the suggest query.
|
| + // NOTE: This does not update |done_|. Callers must do so.
|
| + virtual void StopSuggest() = 0;
|
| +
|
| + // Clears the current results.
|
| + virtual void ClearAllResults() = 0;
|
| +
|
| // Whether a field trial, if any, has triggered in the most recent
|
| // autocomplete query. This field is set to true only if the suggestion
|
| // provider has completed and the response contained
|
|
|