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" | |
haraken
2015/07/30 11:26:52
Some of the header files won't be necessary in thi
Ken Rockot(use gerrit already)
2015/07/30 18:06:54
Acknowledged.
| |
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 #if ENABLE(OILPAN) | |
haraken
2015/07/30 11:26:52
This wouldn't be necessary.
Ken Rockot(use gerrit already)
2015/07/30 18:06:54
Done.
| |
29 visitor->trace(m_controller); | |
30 #endif | |
31 } | |
32 | |
33 } // namespace blink | |
OLD | NEW |