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

Unified Diff: Source/platform/network/ResourceRequest.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
« no previous file with comments | « Source/platform/network/FormDataTest.cpp ('k') | Source/platform/network/ResourceRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceRequest.h
diff --git a/Source/platform/network/ResourceRequest.h b/Source/platform/network/ResourceRequest.h
index f3bf4094633510182c1a36c4afd33d7c2ea063ef..14333fe54cf8ab288d5f9e1d46fc450fac84b52e 100644
--- a/Source/platform/network/ResourceRequest.h
+++ b/Source/platform/network/ResourceRequest.h
@@ -28,7 +28,7 @@
#ifndef ResourceRequest_h
#define ResourceRequest_h
-#include "platform/network/FormData.h"
+#include "platform/network/EncodedFormData.h"
#include "platform/network/HTTPHeaderMap.h"
#include "platform/network/HTTPParsers.h"
#include "platform/network/ResourceLoadPriority.h"
@@ -146,8 +146,8 @@ public:
const AtomicString& httpAccept() const { return httpHeaderField("Accept"); }
void setHTTPAccept(const AtomicString& httpAccept) { setHTTPHeaderField("Accept", httpAccept); }
- FormData* httpBody() const;
- void setHTTPBody(PassRefPtr<FormData> httpBody);
+ EncodedFormData* httpBody() const;
+ void setHTTPBody(PassRefPtr<EncodedFormData>);
bool allowStoredCredentials() const;
void setAllowStoredCredentials(bool allowCredentials);
@@ -254,7 +254,7 @@ private:
RefPtr<SecurityOrigin> m_requestorOrigin;
AtomicString m_httpMethod;
HTTPHeaderMap m_httpHeaderFields;
- RefPtr<FormData> m_httpBody;
+ RefPtr<EncodedFormData> m_httpBody;
bool m_allowStoredCredentials : 1;
bool m_reportUploadProgress : 1;
bool m_reportRawHeaders : 1;
@@ -306,7 +306,7 @@ public:
String m_httpMethod;
OwnPtr<CrossThreadHTTPHeaderMapData> m_httpHeaders;
- RefPtr<FormData> m_httpBody;
+ RefPtr<EncodedFormData> m_httpBody;
bool m_allowStoredCredentials;
bool m_reportUploadProgress;
bool m_hasUserGesture;
« no previous file with comments | « Source/platform/network/FormDataTest.cpp ('k') | Source/platform/network/ResourceRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698