Index: chrome/browser/extensions/api/hotword_private/hotword_private_api.h |
diff --git a/chrome/browser/extensions/api/hotword_private/hotword_private_api.h b/chrome/browser/extensions/api/hotword_private/hotword_private_api.h |
index 1272ded395f31699bae81b0d80f98f3a2375141f..d25b5b7f15e9aaf2210961cc1222b45c416356e6 100644 |
--- a/chrome/browser/extensions/api/hotword_private/hotword_private_api.h |
+++ b/chrome/browser/extensions/api/hotword_private/hotword_private_api.h |
@@ -44,10 +44,14 @@ class HotwordPrivateEventService : public BrowserContextKeyedAPI { |
void OnSpeakerModelExists(); |
+ void OnMicrophoneStateChanged(bool enabled); |
+ |
private: |
friend class BrowserContextKeyedAPIFactory<HotwordPrivateEventService>; |
void SignalEvent(const std::string& event_name); |
+ void SignalEvent(const std::string& event_name, |
+ scoped_ptr<base::ListValue> args); |
Profile* profile_; |
PrefChangeRegistrar pref_change_registrar_; |