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

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

Issue 2227403002: Remove blink::ReadableStream (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 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 "bindings/core/v8/ScriptPromise.h"
9 #include "bindings/core/v8/ScriptValue.h"
10 #include "core/CoreExport.h"
11 #include "platform/heap/Heap.h"
12
13 namespace blink {
14
15 class ScriptState;
16
17 class CORE_EXPORT UnderlyingSource : public GarbageCollectedMixin {
18 public:
19 virtual ~UnderlyingSource() { }
20
21 virtual void pullSource() = 0;
22 virtual ScriptPromise cancelSource(ScriptState*, ScriptValue reason) = 0;
23 DEFINE_INLINE_VIRTUAL_TRACE() { }
24 };
25
26 } // namespace blink
27
28 #endif // UnderlyingSource_h
29
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698