OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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 #include "config.h" |
| 6 #include "modules/webusb/USB.h" |
| 7 |
| 8 #include "modules/webusb/USBDeviceEnumerationOptions.h" |
| 9 #include "modules/webusb/USBDeviceFilter.h" |
| 10 #include "public/platform/modules/webusb/WebUSBClient.h" |
| 11 #include "public/platform/modules/webusb/WebUSBDeviceEnumerationOptions.h" |
| 12 #include "public/platform/modules/webusb/WebUSBDeviceFilter.h" |
| 13 |
| 14 namespace blink { |
| 15 |
| 16 USB::USB(LocalFrame& frame) |
| 17 : m_controller(USBController::from(frame)) |
| 18 { |
| 19 } |
| 20 |
| 21 ScriptPromise USB::getDevices(ScriptState* scriptState, const USBDeviceEnumerati
onOptions& options) |
| 22 { |
| 23 ASSERT_NOT_REACHED(); |
| 24 } |
| 25 |
| 26 DEFINE_TRACE(USB) |
| 27 { |
| 28 visitor->trace(m_controller); |
| 29 } |
| 30 |
| 31 } // namespace blink |
OLD | NEW |