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

Side by Side Diff: chrome/test/data/webrtc/media_devices.js

Issue 2472593004: Reenable media-device enumeration integration test. (Closed)
Patch Set: rebase Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_getmediadevices_browsertest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /** 1 /**
2 * Copyright 2014 The Chromium Authors. All rights reserved. 2 * Copyright 2014 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /** 7 /**
8 * Queries for media devices on the current system using the getMediaDevices 8 * Queries for media devices on the current system using the getMediaDevices
9 * API. 9 * API.
10 * 10 *
11 * Returns the list of devices available. 11 * Returns the list of devices available.
12 */ 12 */
13 function getMediaDevices() { 13 function enumerateDevices() {
14 navigator.mediaDevices.enumerateDevices().then(function(devices) { 14 navigator.mediaDevices.enumerateDevices().then(function(devices) {
15 returnToTest(JSON.stringify(devices)); 15 returnToTest(JSON.stringify(devices));
16 }); 16 });
17 } 17 }
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_getmediadevices_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698