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

Side by Side Diff: third_party/WebKit/Source/core/streams/ReadableByteStream.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 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 ReadableByteStream_h
6 #define ReadableByteStream_h
7
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/CoreExport.h"
10 #include "core/streams/ReadableStreamImpl.h"
11
12 namespace blink {
13
14 class DOMArrayBufferView;
15 class ExceptionState;
16 class ExecutionContext;
17 class ReadableByteStreamReader;
18 class ScriptState;
19 class Strategy;
20 class UnderlyingSource;
21
22 class CORE_EXPORT ReadableByteStream : public ReadableStreamImpl<ReadableStreamC hunkTypeTraits<DOMArrayBufferView>>, public ScriptWrappable {
23 DEFINE_WRAPPERTYPEINFO();
24 public:
25 explicit ReadableByteStream(UnderlyingSource* source) : ReadableStreamImpl<R eadableStreamChunkTypeTraits<DOMArrayBufferView>>(source) { }
26 ReadableByteStream(UnderlyingSource* source, Strategy* strategy) : ReadableS treamImpl<ReadableStreamChunkTypeTraits<DOMArrayBufferView>>(source, strategy) { }
27
28 ReadableByteStreamReader* getBytesReader(ExecutionContext*, ExceptionState&) ;
29 };
30
31 } // namespace blink
32
33 #endif // ReadableByteStream_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/streams/ReadableByteStream.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698