Index: third_party/WebKit/Source/modules/fetch/Body.h |
diff --git a/third_party/WebKit/Source/modules/fetch/Body.h b/third_party/WebKit/Source/modules/fetch/Body.h |
index f3445c68027621951938cc6bdaca6f76a8102a77..535f0f91ad99ec27ad5bd6bf137c0c6d83a76736 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Body.h |
+++ b/third_party/WebKit/Source/modules/fetch/Body.h |
@@ -45,9 +45,10 @@ |
ScriptPromise formData(ScriptState*); |
ScriptPromise json(ScriptState*); |
ScriptPromise text(ScriptState*); |
- ScriptValue bodyWithUseCounter(ScriptState*); |
+ ReadableByteStream* bodyWithUseCounter(); |
virtual BodyStreamBuffer* bodyBuffer() = 0; |
virtual const BodyStreamBuffer* bodyBuffer() const = 0; |
+ ScriptValue v8ExtraStreamBody(ScriptState*); |
virtual bool bodyUsed(); |
bool isBodyLocked(); |
@@ -61,6 +62,7 @@ |
} |
private: |
+ ReadableByteStream* body(); |
virtual String mimeType() const = 0; |
// Body consumption algorithms will reject with a TypeError in a number of |