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

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

Issue 637223011: Redesign the copresence audio handlers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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 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();
};
« no previous file with comments | « chrome/browser/resources/whispernet_proxy/whispernet_proxy_pnacl.pexe.png ('k') | components/components_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698