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

Unified Diff: extensions/test/data/api_test/audio/remove_nodes/background.js

Issue 1584613003: Expose stable_device_id in audio extension apis. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « extensions/test/data/api_test/audio/add_nodes/background.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/test/data/api_test/audio/remove_nodes/background.js
diff --git a/extensions/test/data/api_test/audio/remove_nodes/background.js b/extensions/test/data/api_test/audio/remove_nodes/background.js
index 87588343389553f06b65c99fd443935640b5bcfe..b82c99ed20c97efb47272fa01e39d53e6248a152 100644
--- a/extensions/test/data/api_test/audio/remove_nodes/background.js
+++ b/extensions/test/data/api_test/audio/remove_nodes/background.js
@@ -5,6 +5,7 @@
chrome.audio.OnDevicesChanged.addListener(function (devices) {
if (devices.length === 2) {
if (devices[0].id != "40001" ||
+ devices[0].stableDeviceId != "90001" ||
devices[0].isInput != true ||
devices[0].deviceType != "USB" ||
devices[0].deviceName != "Jabra Mic" ||
@@ -14,6 +15,7 @@ chrome.audio.OnDevicesChanged.addListener(function (devices) {
chrome.test.sendMessage("failure");
}
if (devices[1].id != "40002" ||
+ devices[1].stableDeviceId != "90002" ||
devices[1].isInput != true ||
devices[1].deviceType != "USB" ||
devices[1].deviceName != "Jabra Mic" ||
« no previous file with comments | « extensions/test/data/api_test/audio/add_nodes/background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698