Chromium Code Reviews| 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..bac9f825a942cc533991d1000b3f241dc7b83062 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,12 @@ class ScriptState; |
| class CORE_EXPORT ReadableStreamOperations { |
| STATIC_ONLY(ReadableStreamOperations); |
| public: |
| + // createReadableStreamWithExternalController |
| + static ScriptValue createReadableStream(ScriptState*, UnderlyingSourceBase*, ScriptValue strategy); |
|
yhirano
2016/02/03 11:04:42
This operation can throw when passing a certain st
domenic
2016/02/03 21:20:16
Yes, but C++ code should never supply invalid stra
yhirano
2016/02/04 00:10:36
I see. Please write so as a comment here.
|
| + |
| + // 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 |