| Index: chrome/test/data/extensions/api_test/usb/device_handling/test.js
|
| diff --git a/chrome/test/data/extensions/api_test/usb/device_handling/test.js b/chrome/test/data/extensions/api_test/usb/device_handling/test.js
|
| deleted file mode 100644
|
| index 9bcc2d4132aedc756ffb0bf0ce0e8013d49b983d..0000000000000000000000000000000000000000
|
| --- a/chrome/test/data/extensions/api_test/usb/device_handling/test.js
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -var usb = chrome.usb;
|
| -
|
| -function getDevices() {
|
| - usb.getDevices({
|
| - vendorId: 0,
|
| - productId: 0
|
| - }, function(devices) {
|
| - usb.openDevice(devices[0], function(handle) {
|
| - usb.closeDevice(handle);
|
| - chrome.test.succeed();
|
| - });
|
| - });
|
| -}
|
| -
|
| -function explicitCloseDevice() {
|
| - usb.findDevices({
|
| - vendorId: 0,
|
| - productId: 0
|
| - }, function(devices) {
|
| - usb.closeDevice(devices[0]);
|
| - chrome.test.succeed();
|
| - });
|
| -}
|
| -
|
| -chrome.test.runTests([
|
| - getDevices, explicitCloseDevice
|
| -]);
|
|
|