Index: third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.h b/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.h |
index 5ff0f429e7297b9b132004ad0d666743c5a2df82..2a0d0647542942775e531021a59f6eb58eb28efa 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ReadableStreamOperations.h |
@@ -11,6 +11,7 @@ |
namespace blink { |
+class UnderlyingSourceBase; |
class ExceptionState; |
class ScriptState; |
@@ -21,6 +22,14 @@ class ScriptState; |
class CORE_EXPORT ReadableStreamOperations { |
STATIC_ONLY(ReadableStreamOperations); |
public: |
+ // createReadableStreamWithExternalController |
+ // If the caller supplies an invalid strategy (e.g. one that returns |
+ // negative sizes, or doesn't have appropriate properties), this will crash. |
+ static ScriptValue createReadableStream(ScriptState*, UnderlyingSourceBase*, ScriptValue strategy); |
+ |
+ // createBuiltInCountQueuingStrategy |
+ static ScriptValue createCountQueuingStrategy(ScriptState*, size_t highWaterMark); |
+ |
// AcquireReadableStreamReader |
// This function assumes |isReadableStream(stream)|. |
// Returns an empty value and throws an error via the ExceptionState when |