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

Unified Diff: Source/modules/fetch/Response.cpp

Issue 1311923004: Rename FormData/FormDataBuilder to EncodedFormData/FormDataEncoder respectively. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update comments Created 5 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
« no previous file with comments | « Source/modules/fetch/RequestInit.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/fetch/Response.cpp
diff --git a/Source/modules/fetch/Response.cpp b/Source/modules/fetch/Response.cpp
index 5ba6c260019f152826b71fa2586ba924bc7374c7..33359c9d0ba5ed3d904cd33eeb63666a83423408 100644
--- a/Source/modules/fetch/Response.cpp
+++ b/Source/modules/fetch/Response.cpp
@@ -14,7 +14,7 @@
#include "modules/fetch/BodyStreamBuffer.h"
#include "modules/fetch/FetchBlobDataConsumerHandle.h"
#include "modules/fetch/ResponseInit.h"
-#include "platform/network/FormData.h"
+#include "platform/network/EncodedFormData.h"
#include "platform/network/HTTPHeaderMap.h"
#include "public/platform/WebServiceWorkerResponse.h"
#include "wtf/RefPtr.h"
@@ -133,7 +133,7 @@ Response* Response::create(ExecutionContext* context, const BodyInit& body, cons
DOMFormData* domFormData = body.getAsFormData();
OwnPtr<BlobData> blobData = BlobData::create();
// FIXME: the same code exist in RequestInit::RequestInit().
- RefPtr<FormData> httpBody = domFormData->createMultiPartFormData();
+ RefPtr<EncodedFormData> httpBody = domFormData->createMultiPartFormData();
for (size_t i = 0; i < httpBody->elements().size(); ++i) {
const FormDataElement& element = httpBody->elements()[i];
switch (element.m_type) {
« no previous file with comments | « Source/modules/fetch/RequestInit.cpp ('k') | Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698