diff options
Diffstat (limited to 'chrome/browser/autocomplete/search_provider.cc')
-rw-r--r-- | chrome/browser/autocomplete/search_provider.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/search_provider.cc b/chrome/browser/autocomplete/search_provider.cc index 2c67f7d..0ec478c 100644 --- a/chrome/browser/autocomplete/search_provider.cc +++ b/chrome/browser/autocomplete/search_provider.cc @@ -54,6 +54,14 @@ void SearchProvider::Providers::Set(const TemplateURL* default_provider, cached_keyword_provider_ = *keyword_provider; } +SearchProvider::SearchProvider(ACProviderListener* listener, Profile* profile) + : AutocompleteProvider(listener, profile, "Search"), + have_history_results_(false), + history_request_pending_(false), + suggest_results_pending_(0), + have_suggest_results_(false) { +} + void SearchProvider::Start(const AutocompleteInput& input, bool minimal_changes) { matches_.clear(); @@ -198,6 +206,9 @@ void SearchProvider::OnURLFetchComplete(const URLFetcher* source, listener_->OnProviderUpdate(!suggest_results->empty()); } +SearchProvider::~SearchProvider() { +} + void SearchProvider::StartOrStopHistoryQuery(bool minimal_changes) { // For the minimal_changes case, if we finished the previous query and still // have its results, or are allowed to keep running it, just do that, rather |