| 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 USBIsochronousInTransferResult_h | 5 #ifndef USBIsochronousInTransferResult_h |
| 6 #define USBIsochronousInTransferResult_h | 6 #define USBIsochronousInTransferResult_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/dom/DOMArrayBuffer.h" | 9 #include "core/dom/DOMArrayBuffer.h" |
| 10 #include "core/dom/DOMDataView.h" | 10 #include "core/dom/DOMDataView.h" |
| 11 #include "modules/webusb/USBIsochronousInTransferPacket.h" | 11 #include "modules/webusb/USBIsochronousInTransferPacket.h" |
| 12 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
| 13 #include "wtf/text/WTFString.h" | 13 #include "platform/wtf/text/WTFString.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class USBIsochronousInTransferResult final | 17 class USBIsochronousInTransferResult final |
| 18 : public GarbageCollectedFinalized<USBIsochronousInTransferResult>, | 18 : public GarbageCollectedFinalized<USBIsochronousInTransferResult>, |
| 19 public ScriptWrappable { | 19 public ScriptWrappable { |
| 20 DEFINE_WRAPPERTYPEINFO(); | 20 DEFINE_WRAPPERTYPEINFO(); |
| 21 | 21 |
| 22 public: | 22 public: |
| 23 static USBIsochronousInTransferResult* Create( | 23 static USBIsochronousInTransferResult* Create( |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 } | 56 } |
| 57 | 57 |
| 58 private: | 58 private: |
| 59 Member<DOMDataView> data_; | 59 Member<DOMDataView> data_; |
| 60 const HeapVector<Member<USBIsochronousInTransferPacket>> packets_; | 60 const HeapVector<Member<USBIsochronousInTransferPacket>> packets_; |
| 61 }; | 61 }; |
| 62 | 62 |
| 63 } // namespace blink | 63 } // namespace blink |
| 64 | 64 |
| 65 #endif // USBIsochronousInTransferResult_h | 65 #endif // USBIsochronousInTransferResult_h |
| OLD | NEW |