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 #ifndef USBDevice_h |
| 6 #define USBDevice_h |
| 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "platform/heap/Handle.h" |
| 10 |
| 11 namespace blink { |
| 12 |
| 13 class USBControlTransferParameters; |
| 14 |
| 15 class USBDevice |
| 16 : public GarbageCollectedFinalized<USBDevice> |
| 17 , public ScriptWrappable { |
| 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 public: |
| 20 static USBDevice* create() |
| 21 { |
| 22 return new USBDevice; |
| 23 } |
| 24 |
| 25 USBDevice() { } |
| 26 |
| 27 virtual ~USBDevice() { } |
| 28 |
| 29 String guid() const |
| 30 { |
| 31 ASSERT_NOT_REACHED(); |
| 32 return ""; |
| 33 } |
| 34 |
| 35 DEFINE_INLINE_TRACE() { } |
| 36 }; |
| 37 |
| 38 } // namespace blink |
| 39 |
| 40 #endif // USBDevice_h |
OLD | NEW |