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 4857c9b304664215df33a95706021a010cea07e5..012ad647307d456a9db315ae04dfea833818f25b 100644 |
--- a/chrome/common/extensions/api/hotword_private.idl |
+++ b/chrome/common/extensions/api/hotword_private.idl |
@@ -149,6 +149,10 @@ namespace hotwordPrivate { |
// Gets the audio history opt-in state. |
static void getAudioHistoryEnabled(optional AudioHistoryCallback callback); |
+ |
+ // Sends the result of whether a speaker model exists to the browser. |
+ static void speakerModelExistsResult(boolean exists, |
+ optional GenericDoneCallback callback); |
}; |
interface Events { |
@@ -174,5 +178,9 @@ namespace hotwordPrivate { |
// Fired when the speaker model should be deleted. |
static void onDeleteSpeakerModel(); |
+ |
+ // Fired when the browser wants to find out whether the speaker model |
+ // exists. |
+ static void onSpeakerModelExists(); |
}; |
}; |