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

Unified Diff: chrome/browser/extensions/api/hotword_private/hotword_private_api.h

Issue 1047973003: Notify hotwording extension of microphone state change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/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..f0de96f6da4d21b0a509417e458e3f01916b9101 100644
--- a/chrome/browser/extensions/api/hotword_private/hotword_private_api.h
+++ b/chrome/browser/extensions/api/hotword_private/hotword_private_api.h
@@ -44,6 +44,8 @@ class HotwordPrivateEventService : public BrowserContextKeyedAPI {
void OnSpeakerModelExists();
+ void OnMicrophoneStateChanged(bool enabled);
+
private:
friend class BrowserContextKeyedAPIFactory<HotwordPrivateEventService>;

Powered by Google App Engine
This is Rietveld 408576698