Index: Source/core/streams/ReadableStream2.h |
diff --git a/Source/core/streams/ReadableStream2.h b/Source/core/streams/ReadableStream2.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..42c3856490cbb68df1995ee14318d0047e59f834 |
--- /dev/null |
+++ b/Source/core/streams/ReadableStream2.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef ReadableStream2_h |
+#define ReadableStream2_h |
+ |
+#include "bindings/core/v8/ScriptState.h" |
+#include "bindings/core/v8/ScriptValue.h" |
+ |
+namespace blink { |
+ |
+class UnderlyingSourceBase; |
+ |
+namespace JSStreams { |
+ |
+CORE_EXPORT ScriptValue createReadableStream(ScriptState*, UnderlyingSourceBase*, ScriptValue strategy); |
+CORE_EXPORT ScriptValue createCountQueuingStrategy(ScriptState*, size_t highWaterMark); |
+ |
+} // namespace JSStreams |
+ |
+} // namespace blink |
+ |
+#endif // ReadableStream2_h |