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

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

Issue 2292763002: [Fetch API] Implement Request.formData and Response.formData. (Closed)
Patch Set: Created 3 years, 11 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 a6be5601d922315184f2e2bd1016ccdeecfdb590..2f31b0277dec2254e0292d0f3ee24e042ce0f676 100644
--- a/third_party/WebKit/Source/modules/fetch/Body.h
+++ b/third_party/WebKit/Source/modules/fetch/Body.h
@@ -56,6 +56,9 @@ class MODULES_EXPORT Body : public GarbageCollected<Body>,
DEFINE_INLINE_VIRTUAL_TRACE() { ContextLifecycleObserver::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

Powered by Google App Engine
This is Rietveld 408576698