Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Unified Diff: chrome/browser/ui/app_list/search/search_controller.h

Issue 379333005: Allow AppSearchProvider to provide recommendations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/app_list/search/search_controller.h
diff --git a/chrome/browser/ui/app_list/search/search_controller.h b/chrome/browser/ui/app_list/search/search_controller.h
index 5809bf13efb413ee3fda6093bc8ee4871a948a60..2f6a0c4b941a9fb7ebc134a8ee3b77eb69cb65a0 100644
--- a/chrome/browser/ui/app_list/search/search_controller.h
+++ b/chrome/browser/ui/app_list/search/search_controller.h
@@ -38,6 +38,7 @@ class SearchController : public SpeechUIModelObserver {
void Init();
+ void FetchRecommendations();
void Start();
void Stop();
@@ -49,6 +50,9 @@ class SearchController : public SpeechUIModelObserver {
private:
typedef ScopedVector<SearchProvider> Providers;
+ // Starts the timer which will stop all providers if they time out.
+ void InitiateStopTimer();
+
// Takes ownership of |provider| and associates it with given mixer group.
void AddProvider(Mixer::GroupId group,
scoped_ptr<SearchProvider> provider);

Powered by Google App Engine
This is Rietveld 408576698