| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef USBIsochronousOutTransferResult_h | 5 #ifndef USBIsochronousOutTransferResult_h |
| 6 #define USBIsochronousOutTransferResult_h | 6 #define USBIsochronousOutTransferResult_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/dom/DOMDataView.h" | 9 #include "core/dom/DOMDataView.h" |
| 10 #include "modules/webusb/USBIsochronousOutTransferPacket.h" | 10 #include "modules/webusb/USBIsochronousOutTransferPacket.h" |
| 11 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "wtf/text/WTFString.h" | 12 #include "platform/wtf/text/WTFString.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class USBIsochronousOutTransferResult final | 16 class USBIsochronousOutTransferResult final |
| 17 : public GarbageCollectedFinalized<USBIsochronousOutTransferResult>, | 17 : public GarbageCollectedFinalized<USBIsochronousOutTransferResult>, |
| 18 public ScriptWrappable { | 18 public ScriptWrappable { |
| 19 DEFINE_WRAPPERTYPEINFO(); | 19 DEFINE_WRAPPERTYPEINFO(); |
| 20 | 20 |
| 21 public: | 21 public: |
| 22 static USBIsochronousOutTransferResult* Create( | 22 static USBIsochronousOutTransferResult* Create( |
| (...skipping 13 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 DEFINE_INLINE_TRACE() { visitor->Trace(packets_); } | 37 DEFINE_INLINE_TRACE() { visitor->Trace(packets_); } |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 const HeapVector<Member<USBIsochronousOutTransferPacket>> packets_; | 40 const HeapVector<Member<USBIsochronousOutTransferPacket>> packets_; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace blink | 43 } // namespace blink |
| 44 | 44 |
| 45 #endif // USBIsochronousOutTransferResult_h | 45 #endif // USBIsochronousOutTransferResult_h |
| OLD | NEW |