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

Unified Diff: third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp

Issue 2292763002: [Fetch API] Implement Request.formData and Response.formData. (Closed)
Patch Set: Parse functions etc 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/BodyStreamBuffer.cpp
diff --git a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
index a02c20617351eedde1d179d073390be56084294b..308279dfd21e2cf0d39d9408d0b071cd28f64196 100644
--- a/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
+++ b/third_party/WebKit/Source/modules/fetch/BodyStreamBuffer.cpp
@@ -45,6 +45,12 @@ public:
m_client->didFetchDataLoadedArrayBuffer(arrayBuffer);
}
+ void didFetchDataLoadedFormData(FormData* formData) override
+ {
+ m_buffer->endLoading();
+ m_client->didFetchDataLoadedFormData(formData);
+ }
+
void didFetchDataLoadedString(const String& string) override
{
m_buffer->endLoading();

Powered by Google App Engine
This is Rietveld 408576698