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

Side by Side Diff: Source/core/streams/UnderlyingSource.h

Issue 407453002: ReadableStream initial implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698