| 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 USBIsochronousInTransferPacket_h | 5 #ifndef USBIsochronousInTransferPacket_h |
| 6 #define USBIsochronousInTransferPacket_h | 6 #define USBIsochronousInTransferPacket_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 "platform/heap/GarbageCollected.h" | 10 #include "platform/heap/GarbageCollected.h" |
| 11 #include "wtf/text/WTFString.h" | 11 #include "platform/wtf/text/WTFString.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class USBIsochronousInTransferPacket final | 15 class USBIsochronousInTransferPacket final |
| 16 : public GarbageCollectedFinalized<USBIsochronousInTransferPacket>, | 16 : public GarbageCollectedFinalized<USBIsochronousInTransferPacket>, |
| 17 public ScriptWrappable { | 17 public ScriptWrappable { |
| 18 DEFINE_WRAPPERTYPEINFO(); | 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 | 19 |
| 20 public: | 20 public: |
| 21 static USBIsochronousInTransferPacket* Create(const String& status) { | 21 static USBIsochronousInTransferPacket* Create(const String& status) { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 38 USBIsochronousInTransferPacket(const String& status, DOMDataView* data) | 38 USBIsochronousInTransferPacket(const String& status, DOMDataView* data) |
| 39 : status_(status), data_(data) {} | 39 : status_(status), data_(data) {} |
| 40 | 40 |
| 41 const String status_; | 41 const String status_; |
| 42 const Member<DOMDataView> data_; | 42 const Member<DOMDataView> data_; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 } // namespace blink | 45 } // namespace blink |
| 46 | 46 |
| 47 #endif // USBIsochronousInTransferPacket_h | 47 #endif // USBIsochronousInTransferPacket_h |
| OLD | NEW |