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

Unified Diff: chrome/common/extensions/api/hotword_private.idl

Issue 559303002: Hotword Audio Verification app: control the hotword settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@launch-state
Patch Set: Created 6 years, 3 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/common/extensions/api/hotword_private.idl
diff --git a/chrome/common/extensions/api/hotword_private.idl b/chrome/common/extensions/api/hotword_private.idl
index ced46e6bf0e9a0e8ce5b154962b33455a2af2b52..50222a33b24ab19be895e589f29aaa8683d6e55f 100644
--- a/chrome/common/extensions/api/hotword_private.idl
+++ b/chrome/common/extensions/api/hotword_private.idl
@@ -59,11 +59,17 @@
// The result is put into a StatusDetails object.
static void getStatus(StatusDetailsCallback callback);
- // Sets the current enabled state of audio logging in the extension.
- // True: logging enabled. False: no logging.
+ // Sets the current enabled state of hotword-always-on-search pref.
+ // True: enable hotword always on search.
+ // False: disable hotword always on search.
static void setAudioLoggingEnabled(boolean state,
optional GenericDoneCallback callback);
+ // Sets the current enabled state of audio logging in the extension.
+ // True: logging enabled. False: no logging.
+ static void setHotwordAlwaysOnSearchEnabled(boolean state,
rpetterson 2014/09/11 20:14:17 I think you got this function and the one above mi
kcarattini 2014/09/12 01:02:08 Done. Thanks for catching that.
+ optional GenericDoneCallback callback);
+
// Sets the current state of the browser-requested hotword session.
static void setHotwordSessionState(boolean started,
optional GenericDoneCallback callback);

Powered by Google App Engine
This is Rietveld 408576698