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 40bf96937638f5afeea6a80407b4a06be001be5a..a33bd01d97048eefb233e36aaa08d387112b357e 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Body.h |
+++ b/third_party/WebKit/Source/modules/fetch/Body.h |
@@ -40,7 +40,7 @@ class MODULES_EXPORT Body : public GarbageCollected<Body>, |
ScriptPromise arrayBuffer(ScriptState*); |
ScriptPromise blob(ScriptState*); |
- ScriptPromise FormData(ScriptState*); |
+ ScriptPromise formData(ScriptState*); |
ScriptPromise json(ScriptState*); |
ScriptPromise text(ScriptState*); |
ScriptValue body(ScriptState*); |
@@ -56,6 +56,9 @@ class MODULES_EXPORT Body : public GarbageCollected<Body>, |
DEFINE_INLINE_VIRTUAL_TRACE() { ContextClient::Trace(visitor); } |
private: |
+ // TODO(e_hakkinen): Fix |MimeType()| to always contain parameters and |
+ // remove |ContentType()|. |
+ virtual String ContentType() const = 0; |
virtual String MimeType() const = 0; |
// Body consumption algorithms will reject with a TypeError in a number of |