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

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

Issue 2679563002: [WIP] Expose Request.body property
Patch Set: Created 3 years, 10 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/RequestInit.h
diff --git a/third_party/WebKit/Source/modules/fetch/RequestInit.h b/third_party/WebKit/Source/modules/fetch/RequestInit.h
index d4753e2539ffa886ca8b0bfd35d2ff8d2ff6326d..c6fe6a976658607fe95a4208f1970ebe788ee840 100644
--- a/third_party/WebKit/Source/modules/fetch/RequestInit.h
+++ b/third_party/WebKit/Source/modules/fetch/RequestInit.h
@@ -15,22 +15,22 @@
namespace blink {
-class BytesConsumer;
-class ExceptionState;
+class BodyStreamBuffer;
class Headers;
+class ScriptState;
// FIXME: Use IDL dictionary instead of this class.
class RequestInit {
STACK_ALLOCATED();
public:
- explicit RequestInit(ExecutionContext*, const Dictionary&, ExceptionState&);
+ explicit RequestInit(ScriptState*, const Dictionary&, ExceptionState&);
String method;
Member<Headers> headers;
Dictionary headersDictionary;
String contentType;
- Member<BytesConsumer> body;
+ Member<BodyStreamBuffer> body;
Referrer referrer;
String mode;
String credentials;
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Request.idl ('k') | third_party/WebKit/Source/modules/fetch/RequestInit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698