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

Unified Diff: Source/core/streams/ReadableStream2.h

Issue 1167343002: Add methods for creating V8 extras-based ReadableStreams from C++ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: That todo is not necessary according to yhirano@ Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/streams/README.txt ('k') | Source/core/streams/ReadableStream2.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/core/streams/README.txt ('k') | Source/core/streams/ReadableStream2.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698