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

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

Issue 460743004: Improve audible token detection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
Index: chrome/common/extensions/api/copresence_private.idl
diff --git a/chrome/common/extensions/api/copresence_private.idl b/chrome/common/extensions/api/copresence_private.idl
index 1715703db1530ea55e124dff1891798f907be31a..9b0e12df2ab5450c47e83b98ffeab88ba7f48d66 100644
--- a/chrome/common/extensions/api/copresence_private.idl
+++ b/chrome/common/extensions/api/copresence_private.idl
@@ -25,13 +25,18 @@ namespace copresencePrivate {
RecordParameters record;
};
+ dictionary Token {
+ DOMString token;
+ boolean audible;
+ };
+
interface Functions {
// Send a boolean indicating whether our initialization was successful.
static void sendInitialized(boolean success);
// Sends an array of found tokens to Chrome.
- static void sendFound(DOMString[] tokens);
+ static void sendFound(Token[] tokens);
// Send an array buffer of samples encoded for the specified token.
- static void sendSamples(DOMString token, ArrayBuffer samples);
+ static void sendSamples(Token token, ArrayBuffer samples);
// Send a boolean indicating whether we detected a broadcast or not.
static void sendDetect(boolean detected);
};

Powered by Google App Engine
This is Rietveld 408576698