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 ReadableStreamTestRequest_h |
| 6 #define ReadableStreamTestRequest_h |
| 7 |
| 8 #include "bindings/core/v8/ScriptState.h" |
| 9 #include "bindings/core/v8/ScriptValue.h" |
| 10 #include "bindings/core/v8/ScriptWrappable.h" |
| 11 #include "platform/heap/Handle.h" |
| 12 |
| 13 namespace blink { |
| 14 |
| 15 class UnderlyingSourceBase; |
| 16 |
| 17 class ReadableStreamTestRequest final : public GarbageCollected<ReadableStreamTe
stRequest>, public ScriptWrappable { |
| 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 |
| 20 public: |
| 21 DEFINE_INLINE_TRACE() { } |
| 22 |
| 23 ReadableStreamTestRequest(ScriptState*, UnderlyingSourceBase*); |
| 24 |
| 25 const char* metadata() { return "some metadata"; } |
| 26 ScriptValue body(ScriptState*); |
| 27 }; |
| 28 |
| 29 } // namespace blink |
| 30 |
| 31 #endif // ReadableStreamTestRequest_h |
OLD | NEW |