Index: chrome/browser/chromeos/launcher_search_provider/service.h |
diff --git a/chrome/browser/chromeos/launcher_search_provider/service.h b/chrome/browser/chromeos/launcher_search_provider/service.h |
index 7dab497d203d4ddd2a4ead636df404638737adca..27bac34e5234a8d6f4d039d63f051959083a5c80 100644 |
--- a/chrome/browser/chromeos/launcher_search_provider/service.h |
+++ b/chrome/browser/chromeos/launcher_search_provider/service.h |
@@ -29,6 +29,12 @@ class Service : public KeyedService { |
// Dispatches onQueryStarted events to listener extensions. |
void OnQueryStarted(const std::string& query, const int max_result); |
+ // Dispatches onQueryEnded events to listener extensions. |
+ void OnQueryEnded(); |
+ |
+ // Returns true if there is a running query. |
+ bool IsQueryRunning() const; |
+ |
private: |
// Returns extension ids of listener extensions. |
std::set<extensions::ExtensionId> GetListenerExtensionIds(); |
@@ -36,6 +42,7 @@ class Service : public KeyedService { |
Profile* const profile_; |
extensions::ExtensionRegistry* extension_registry_; |
uint32 query_id_; |
+ bool is_query_running_; |
DISALLOW_COPY_AND_ASSIGN(Service); |
}; |