| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 USBInTransferResult_h | 5 #ifndef USBInTransferResult_h |
| 6 #define USBInTransferResult_h | 6 #define USBInTransferResult_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 "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
| 12 #include "wtf/Vector.h" | 12 #include "platform/wtf/Vector.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 USBInTransferResult final | 17 class USBInTransferResult final |
| 18 : public GarbageCollectedFinalized<USBInTransferResult>, | 18 : public GarbageCollectedFinalized<USBInTransferResult>, |
| 19 public ScriptWrappable { | 19 public ScriptWrappable { |
| 20 DEFINE_WRAPPERTYPEINFO(); | 20 DEFINE_WRAPPERTYPEINFO(); |
| 21 | 21 |
| 22 public: | 22 public: |
| 23 static USBInTransferResult* Create(const String& status, | 23 static USBInTransferResult* Create(const String& status, |
| (...skipping 25 matching lines...) Expand all Loading... |
| 49 DEFINE_INLINE_TRACE() { visitor->Trace(data_); } | 49 DEFINE_INLINE_TRACE() { visitor->Trace(data_); } |
| 50 | 50 |
| 51 private: | 51 private: |
| 52 const String status_; | 52 const String status_; |
| 53 const Member<DOMDataView> data_; | 53 const Member<DOMDataView> data_; |
| 54 }; | 54 }; |
| 55 | 55 |
| 56 } // namespace blink | 56 } // namespace blink |
| 57 | 57 |
| 58 #endif // USBInTransferResult_h | 58 #endif // USBInTransferResult_h |
| OLD | NEW |