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 9b0e12df2ab5450c47e83b98ffeab88ba7f48d66..bf983072b996920982ab8e85684647f14972c4c5 100644 |
--- a/chrome/common/extensions/api/copresence_private.idl |
+++ b/chrome/common/extensions/api/copresence_private.idl |
@@ -5,6 +5,10 @@ |
// Use the <code>chrome.copresencePrivate</code> API to interface with Chrome |
// from the whispernet_proxy extension. |
namespace copresencePrivate { |
+ dictionary DecodeRequestType { |
+ boolean decodeAudible; |
+ boolean decodeInaudible; |
+ }; |
not at google - send to devlin
2014/10/20 17:18:11
I'd probably call this DecodeSamplesParameters
rkc
2014/10/20 19:10:11
Done.
|
dictionary PlayParameters { |
double sampleRate; |
@@ -47,7 +51,8 @@ namespace copresencePrivate { |
// Fired to request encoding of the given token. |
static void onEncodeTokenRequest(DOMString base64Token, boolean audible); |
// Fired when we have new samples to decode. |
- static void onDecodeSamplesRequest(ArrayBuffer audioSamples); |
+ static void onDecodeSamplesRequest(ArrayBuffer samples, |
+ DecodeRequestType request); |
// Fired to request a DetectBroadcast. |
static void onDetectBroadcastRequest(); |
}; |