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); |
}; |