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

Unified Diff: third_party/WebKit/Source/modules/fetch/Body.h

Issue 1899873006: Make Response::body return v8-extra based stream behind flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@notify-locked-released
Patch Set: Created 4 years, 8 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
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 535f0f91ad99ec27ad5bd6bf137c0c6d83a76736..f3445c68027621951938cc6bdaca6f76a8102a77 100644
--- a/third_party/WebKit/Source/modules/fetch/Body.h
+++ b/third_party/WebKit/Source/modules/fetch/Body.h
@@ -45,10 +45,9 @@ public:
ScriptPromise formData(ScriptState*);
ScriptPromise json(ScriptState*);
ScriptPromise text(ScriptState*);
- ReadableByteStream* bodyWithUseCounter();
+ ScriptValue bodyWithUseCounter(ScriptState*);
virtual BodyStreamBuffer* bodyBuffer() = 0;
virtual const BodyStreamBuffer* bodyBuffer() const = 0;
- ScriptValue v8ExtraStreamBody(ScriptState*);
virtual bool bodyUsed();
bool isBodyLocked();
@@ -62,7 +61,6 @@ public:
}
private:
- ReadableByteStream* body();
virtual String mimeType() const = 0;
// Body consumption algorithms will reject with a TypeError in a number of

Powered by Google App Engine
This is Rietveld 408576698