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

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

Issue 2840193002: fetch: Align RequestInit's |headers| with the spec. (Closed)
Patch Set: Use using, not typedef Created 3 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/RequestInit.h
diff --git a/third_party/WebKit/Source/modules/fetch/RequestInit.h b/third_party/WebKit/Source/modules/fetch/RequestInit.h
index d1881aa9914d4e811c4289c1361d23f4231b7fdf..6b9538ed3459d5299c820176836ad9520eaac85a 100644
--- a/third_party/WebKit/Source/modules/fetch/RequestInit.h
+++ b/third_party/WebKit/Source/modules/fetch/RequestInit.h
@@ -5,6 +5,8 @@
#ifndef RequestInit_h
#define RequestInit_h
+#include "bindings/modules/v8/ByteStringSequenceSequenceOrByteStringByteStringRecordOrHeaders.h"
+#include "modules/fetch/Headers.h"
#include "platform/heap/Handle.h"
#include "platform/network/EncodedFormData.h"
#include "platform/weborigin/Referrer.h"
@@ -17,7 +19,6 @@ class BytesConsumer;
class Dictionary;
class ExecutionContext;
class ExceptionState;
-class Headers;
// FIXME: Use IDL dictionary instead of this class.
class RequestInit {
@@ -27,7 +28,7 @@ class RequestInit {
explicit RequestInit(ExecutionContext*, const Dictionary&, ExceptionState&);
String method;
- Member<Headers> headers;
+ HeadersInit headers;
String content_type;
Member<BytesConsumer> body;
Referrer referrer;
« no previous file with comments | « third_party/WebKit/Source/modules/fetch/Request.cpp ('k') | third_party/WebKit/Source/modules/fetch/RequestInit.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698