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

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

Issue 2784563003: WebRTC Audio private API: removing WebRtcAudioPrivate(Set/Get)ActiveSinkFunction (Closed)
Patch Set: nitfixes Created 3 years, 9 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/webrtc_audio_private.idl
diff --git a/chrome/common/extensions/api/webrtc_audio_private.idl b/chrome/common/extensions/api/webrtc_audio_private.idl
index 32afbd48ee9288b4e4fac6c9807775132584a8e7..15fbde797be6403868cc253fb4f59a89631c9a4d 100644
--- a/chrome/common/extensions/api/webrtc_audio_private.idl
+++ b/chrome/common/extensions/api/webrtc_audio_private.idl
@@ -3,8 +3,7 @@
// found in the LICENSE file.
// The <code>chrome.webrtcAudioPrivate</code> API allows enumeration
-// of audio output (sink) devices as well as getting and setting the
-// active device for a given requesting process.
+// of audio output (sink) devices.
//
// Note that device IDs as used in this API are opaque (i.e. they are
// not the hardware identifier of the device) and while they are
@@ -39,7 +38,6 @@ namespace webrtcAudioPrivate {
callback GetSinksCallback = void(SinkInfo[] sinkInfo);
callback SinkIdCallback = void(DOMString sinkId);
- callback CompletionCallback = void();
dictionary RequestInfo {
Devlin 2017/04/05 14:13:55 This is no longer needed, right?
o1ka 2017/04/06 12:18:29 Done.
// The tab identifier from the chrome.tabs API, if the request is from a
@@ -54,16 +52,6 @@ namespace webrtcAudioPrivate {
// Retrieves a list of available audio sink devices.
static void getSinks(GetSinksCallback callback);
- // Retrieves the currently active audio sink for the given requesting
- // process.
- static void getActiveSink(RequestInfo request,
- SinkIdCallback callback);
-
- // Sets the active audio sink device for the specified requesting process.
- static void setActiveSink(RequestInfo request,
- DOMString sinkId,
- optional CompletionCallback callback);
-
// Given a security origin and an input device ID valid for that
// security origin, retrieve an audio sink ID valid for the
// extension, or the empty string if there is no associated audio

Powered by Google App Engine
This is Rietveld 408576698