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

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

Issue 2784563003: WebRTC Audio private API: removing WebRtcAudioPrivate(Set/Get)ActiveSinkFunction (Closed)
Patch Set: updated api version Created 3 years, 8 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 9151e115fcdc3560bb9ee8505bf301915ee6a4ac..117e37a37abb5b5877f3208dc1c98d85c562e2e3 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 {
// The tab identifier from the chrome.tabs API, if the request is from a
@@ -59,16 +57,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
« no previous file with comments | « chrome/browser/resources/hangout_services/thunk.js ('k') | chrome/test/data/extensions/hangout_services_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698