1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 function getDiagnostics() {
6 chrome.mediaPerceptionPrivate.getDiagnostics(
7 chrome.test.callback(diagnosticsCallback));
8 }
9
tbarzic
2017/05/09 01:28:36
I'd rewrite this as
chrome.test.runTests([
func
I'd rewrite this as
chrome.test.runTests([
function getDiagnostics() {
chrome.mediaPerceptionPrivate.getDiagnostics(
chrome.test.callbackPass(function(result) {
chrome.test.assertEq(...);
}));
}
]);
Issue 2858353002: MediaPerceptionPrivate API impl and testing.
(Closed)
Created 3 years, 7 months ago by Luke Sorenson
Modified 3 years, 7 months ago
Reviewers: rkc, mattfrazier, weigua, Simon Que, bmayer, tbarzic, rkc1, stevenjb, Devlin
Base URL:
Comments: 331