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

Unified Diff: Source/modules/fetch/FetchDataConsumerHandle.h

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
Index: Source/modules/fetch/FetchDataConsumerHandle.h
diff --git a/Source/modules/fetch/FetchDataConsumerHandle.h b/Source/modules/fetch/FetchDataConsumerHandle.h
index 1169766db78942b4a138b4c3f0c33de250d13d12..6ff0b5f09d31dcd69d6ff80500e7585d2e7984e3 100644
--- a/Source/modules/fetch/FetchDataConsumerHandle.h
+++ b/Source/modules/fetch/FetchDataConsumerHandle.h
@@ -7,7 +7,7 @@
#include "modules/ModulesExport.h"
#include "platform/blob/BlobData.h"
-#include "platform/network/FormData.h"
+#include "platform/network/EncodedFormData.h"
#include "public/platform/WebDataConsumerHandle.h"
#include "wtf/Forward.h"
#include "wtf/PassRefPtr.h"
@@ -54,10 +54,10 @@ public:
// return a non-null blob handle with unspecified size.
virtual PassRefPtr<BlobDataHandle> drainAsBlobDataHandle(BlobSizePolicy = DisallowBlobWithInvalidSize) { return nullptr; }
- // Drains the data as a FormData.
+ // Drains the data as an EncodedFormData.
// This function returns a non-null form data when the handle is made
- // from a FormData-convertible value.
- virtual PassRefPtr<FormData> drainAsFormData() { return nullptr; }
+ // from an EncodedFormData-convertible value.
+ virtual PassRefPtr<EncodedFormData> drainAsFormData() { return nullptr; }
};
// TODO(yhirano): obtainReader() is currently non-virtual override, and
« no previous file with comments | « Source/modules/fetch/FetchBlobDataConsumerHandleTest.cpp ('k') | Source/modules/fetch/FetchFormDataConsumerHandle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698