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

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

Issue 1027683002: Hotword Private API: Add function and event to query the existence of a speaker model (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
« no previous file with comments | « chrome/browser/search/hotword_service.cc ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3607c4985eef668c4c2911fbdcf9f48841c5745b..6bc476739b956d8e4f578ce560dc84fed27ee53f 100644
--- a/chrome/common/extensions/api/hotword_private.idl
+++ b/chrome/common/extensions/api/hotword_private.idl
@@ -142,6 +142,10 @@ namespace hotwordPrivate {
// Gets the audio history opt-in state.
static void getAudioHistoryEnabled(optional AudioHistoryCallback callback);
+
+ // Gets the audio history opt-in state.
benwells 2015/03/20 07:01:39 I think you're comment needs updating...
kcarattini 2015/03/20 07:23:59 Done.
+ static void speakerModelExistsResult(boolean exists,
+ optional GenericDoneCallback callback);
};
interface Events {
@@ -167,5 +171,8 @@ namespace hotwordPrivate {
// Fired when the speaker model should be deleted.
static void onDeleteSpeakerModel();
+
+ // Fired when there is a request for whether the speaker model exists.
benwells 2015/03/20 07:01:38 I'd update this comment to be clearer, like 'fired
kcarattini 2015/03/20 07:24:00 Done.
+ static void onSpeakerModelExists();
};
};
« no previous file with comments | « chrome/browser/search/hotword_service.cc ('k') | extensions/browser/extension_function_histogram_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698