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

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

Issue 2688773002: Restrict deprecated parts of audio API usage to whitelisted apps (Closed)
Patch Set: . Created 3 years, 10 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: extensions/test/data/api_test/audio/add_nodes/background.js
diff --git a/extensions/test/data/api_test/audio/add_nodes/background.js b/extensions/test/data/api_test/audio/add_nodes/background.js
index 5fec5a0a7c684c0126a48ac91d091e25ebd365b0..59a5add610861aed8b4fd560c881eda2ea7af0a5 100644
--- a/extensions/test/data/api_test/audio/add_nodes/background.js
+++ b/extensions/test/data/api_test/audio/add_nodes/background.js
@@ -9,7 +9,7 @@ chrome.test.runTests([
return {
id: device.id,
stableDeviceId: device.stableDeviceId,
- isInput: device.isInput,
+ streamType: device.streamType,
deviceType: device.deviceType,
deviceName: device.deviceName,
displayName: device.displayName
@@ -21,21 +21,21 @@ chrome.test.runTests([
chrome.test.assertEq([{
id: '30001',
stableDeviceId: '116606' /* 80001 ^ 0xFFFF */,
- isInput: false,
+ streamType: 'OUTPUT',
deviceType: 'USB',
deviceName: 'Jabra Speaker',
displayName: 'Jabra Speaker 1'
}, {
id: '30002',
stableDeviceId: '116605' /* 80002 ^ 0xFFFF */,
- isInput: false,
+ streamType: 'OUTPUT',
deviceType: 'USB',
deviceName: 'Jabra Speaker',
displayName: 'Jabra Speaker 2'
}, {
id: '30003',
stableDeviceId: '116604' /* 80003 ^ 0xFFFF */,
- isInput: false,
+ streamType: 'OUTPUT',
deviceType: 'HDMI',
deviceName: 'HDMI output',
displayName: 'HDA Intel MID'
« no previous file with comments | « extensions/common/features/behavior_feature.cc ('k') | extensions/test/data/api_test/audio/deprecated_api/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698