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

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

Issue 715773002: Hotword Private API: Add support for retrieving localized strings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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 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,

Powered by Google App Engine
This is Rietveld 408576698