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

Side by Side Diff: Source/core/testing/ReadableStreamTestCase.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
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/core/testing/ReadableStreamTestCase.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ReadableStreamTestCase_h
6 #define ReadableStreamTestCase_h
7
8 #include "bindings/core/v8/ScriptState.h"
9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "platform/heap/Handle.h"
11
12 namespace blink {
13
14 class ReadableStreamTestRequest;
15 class ReadableStreamTestSource;
16
17 class ReadableStreamTestCase final : public GarbageCollected<ReadableStreamTestC ase>, public ScriptWrappable {
18 DEFINE_WRAPPERTYPEINFO();
19
20 public:
21 DECLARE_TRACE();
22
23 ReadableStreamTestCase(ScriptState*);
24
25 ReadableStreamTestRequest* request() { return m_request; }
26 ReadableStreamTestSource* source() { return m_source; }
27
28 private:
29 Member<ReadableStreamTestSource> m_source;
30 Member<ReadableStreamTestRequest> m_request;
31 };
32
33 } // namespace blink
34
35 #endif // ReadableStreamTestCase_h
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.idl ('k') | Source/core/testing/ReadableStreamTestCase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698