Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: Source/core/testing/ReadableStreamTestRequest.h

Issue 1167343002: Add methods for creating V8 extras-based ReadableStreams from C++ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: That todo is not necessary according to yhirano@ Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW
« no previous file with comments | « Source/core/testing/ReadableStreamTestCase.idl ('k') | Source/core/testing/ReadableStreamTestRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698