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

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

Issue 2292763002: [Fetch API] Implement Request.formData and Response.formData. (Closed)
Patch Set: Created 4 years, 3 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 fe10962d99d82e07dc4aeeb5062774b568a45f50..70d9e370b5fa12bb6be88f9dc3284bb11bb2cff2 100644
--- a/third_party/WebKit/Source/modules/fetch/Body.h
+++ b/third_party/WebKit/Source/modules/fetch/Body.h
@@ -60,6 +60,9 @@ public:
}
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

Powered by Google App Engine
This is Rietveld 408576698