OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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 UnderlyingSource_h | |
6 #define UnderlyingSource_h | |
7 | |
8 #include "platform/heap/Heap.h" | |
9 | |
10 namespace WebCore { | |
11 | |
12 class UnderlyingSource : public GarbageCollectedFinalized<UnderlyingSource> { | |
13 public: | |
14 virtual ~UnderlyingSource() { } | |
15 virtual ScriptPromise startStream(ExceptionState*) = 0; | |
16 virtual void pullStream(ExceptionState*) = 0; | |
17 virtual void cancelStream(ExceptionState*) = 0; | |
tyoshino (SeeGerritForStatus)
2014/07/18 04:31:40
are these suffixes needed? it looks like Stream is
yhirano
2014/07/18 04:38:54
Yes, they are called by ReadableStream objects. Bu
tyoshino (SeeGerritForStatus)
2014/07/18 04:49:54
Oh, I see. How about did prefix? Hmm, still too si
yhirano
2014/07/18 06:33:37
How about suffixing Source?
tyoshino (SeeGerritForStatus)
2014/07/18 07:14:47
Sounds good
| |
18 virtual void trace(Visitor*) { } | |
19 }; | |
20 | |
21 } // namespace WebCore | |
22 | |
23 #endif // #ifndef ReadableStream_h | |
24 | |
OLD | NEW |