Index: chrome/browser/search/hotword_service.h |
diff --git a/chrome/browser/search/hotword_service.h b/chrome/browser/search/hotword_service.h |
index def0df03fd54a0dc65aa9d37c58ba4de162ebea2..61478db531a3f2e54b16f6d07184b2fa6c1f3252 100644 |
--- a/chrome/browser/search/hotword_service.h |
+++ b/chrome/browser/search/hotword_service.h |
@@ -12,6 +12,7 @@ |
#include "content/public/browser/notification_registrar.h" |
class ExtensionService; |
+class HotwordClient; |
class Profile; |
namespace hotword_internal { |
@@ -72,6 +73,11 @@ class HotwordService : public content::NotificationObserver, |
// turns it off via the settings menu. |
void OnHotwordSearchEnabledChanged(const std::string& pref_name); |
+ // Called to handle the hotword session from |client|. |
+ void RequestHotwordSession(HotwordClient* client); |
+ void StopHotwordSession(HotwordClient* client); |
+ HotwordClient* client() { return client_; } |
+ |
private: |
Profile* profile_; |
@@ -79,6 +85,8 @@ class HotwordService : public content::NotificationObserver, |
content::NotificationRegistrar registrar_; |
+ HotwordClient* client_; |
+ |
DISALLOW_COPY_AND_ASSIGN(HotwordService); |
}; |