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

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: Review Commetns 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 fa07067626d350e374ab3e8f0294cae2eca1942f..d7bdb045df2d9c2a52b1a4b37a1a4b63a82c527e 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