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

Unified Diff: Source/platform/exported/WebHTTPBody.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/platform/blink_platform.gypi ('k') | Source/platform/network/EncodedFormData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/exported/WebHTTPBody.cpp
diff --git a/Source/platform/exported/WebHTTPBody.cpp b/Source/platform/exported/WebHTTPBody.cpp
index fa58eff27e8ba0acd303b33d2b618e36a0ac619a..a76a101ab0c5ba3f579dc28b8cdee5874bc6c8df 100644
--- a/Source/platform/exported/WebHTTPBody.cpp
+++ b/Source/platform/exported/WebHTTPBody.cpp
@@ -32,16 +32,16 @@
#include "public/platform/WebHTTPBody.h"
#include "platform/FileMetadata.h"
-#include "platform/network/FormData.h"
+#include "platform/network/EncodedFormData.h"
namespace blink {
-class WebHTTPBodyPrivate : public FormData {
+class WebHTTPBodyPrivate : public EncodedFormData {
};
void WebHTTPBody::initialize()
{
- assign(static_cast<WebHTTPBodyPrivate*>(FormData::create().leakRef()));
+ assign(static_cast<WebHTTPBodyPrivate*>(EncodedFormData::create().leakRef()));
}
void WebHTTPBody::reset()
@@ -166,18 +166,18 @@ void WebHTTPBody::setContainsPasswordData(bool containsPasswordData)
m_private->setContainsPasswordData(containsPasswordData);
}
-WebHTTPBody::WebHTTPBody(const PassRefPtr<FormData>& data)
+WebHTTPBody::WebHTTPBody(const PassRefPtr<EncodedFormData>& data)
: m_private(static_cast<WebHTTPBodyPrivate*>(data.leakRef()))
{
}
-WebHTTPBody& WebHTTPBody::operator=(const PassRefPtr<FormData>& data)
+WebHTTPBody& WebHTTPBody::operator=(const PassRefPtr<EncodedFormData>& data)
{
assign(static_cast<WebHTTPBodyPrivate*>(data.leakRef()));
return *this;
}
-WebHTTPBody::operator PassRefPtr<FormData>() const
+WebHTTPBody::operator PassRefPtr<EncodedFormData>() const
{
return m_private;
}
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/platform/network/EncodedFormData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698