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 b6ae4013b28ce00ce5c86c0b8db58e3b66d93c11..81e39dc99e5ea3f80ee9ca1e53685ad9170b4ee6 100644 |
--- a/chrome/common/extensions/api/hotword_private.idl |
+++ b/chrome/common/extensions/api/hotword_private.idl |
@@ -53,6 +53,7 @@ |
callback GenericDoneCallback = void (); |
callback LaunchStateCallback = void(LaunchState result); |
+ callback LocalizeStringsCallback = void(object result); |
callback StatusDetailsCallback = void(StatusDetails result); |
interface Functions { |
@@ -65,6 +66,9 @@ |
// The result is put into a StatusDetails object. |
static void getStatus(StatusDetailsCallback callback); |
+ // Retrieves a dictionary mapping names to localized resource strings. |
+ static void getLocalizedStrings(LocalizeStringsCallback callback); |
+ |
// Sets the current enabled state of audio logging in the extension. |
// True: logging enabled. False: no logging. |
static void setAudioLoggingEnabled(boolean state, |