| 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..91d777b8b851a918d54866bffb8791ce3b64e7d0 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 DecodeSamplesParameters {
|
| + boolean decodeAudible;
|
| + boolean decodeInaudible;
|
| + };
|
|
|
| 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,
|
| + DecodeSamplesParameters request);
|
| // Fired to request a DetectBroadcast.
|
| static void onDetectBroadcastRequest();
|
| };
|
|
|