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

Unified Diff: Source/core/html/parser/XSSAuditor.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/core/html/FormDataList.cpp ('k') | Source/core/html/parser/XSSAuditorDelegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/XSSAuditor.cpp
diff --git a/Source/core/html/parser/XSSAuditor.cpp b/Source/core/html/parser/XSSAuditor.cpp
index 8b859f33c05858aaff2e094fc4df741de4420749..37bfb2a16e1e5860271bf3157478a8f7588bcbb4 100644
--- a/Source/core/html/parser/XSSAuditor.cpp
+++ b/Source/core/html/parser/XSSAuditor.cpp
@@ -44,7 +44,7 @@
#include "core/loader/DocumentLoader.h"
#include "core/loader/MixedContentChecker.h"
#include "platform/JSONValues.h"
-#include "platform/network/FormData.h"
+#include "platform/network/EncodedFormData.h"
#include "platform/text/DecodeEscapeSequences.h"
#include "wtf/ASCIICType.h"
#include "wtf/MainThread.h"
@@ -360,7 +360,7 @@ void XSSAuditor::init(Document* document, XSSAuditorDelegate* auditorDelegate)
if (auditorDelegate)
auditorDelegate->setReportURL(xssProtectionReportURL.copy());
- FormData* httpBody = documentLoader->request().httpBody();
+ EncodedFormData* httpBody = documentLoader->request().httpBody();
if (httpBody && !httpBody->isEmpty())
m_httpBodyAsString = httpBody->flattenToString();
}
« no previous file with comments | « Source/core/html/FormDataList.cpp ('k') | Source/core/html/parser/XSSAuditorDelegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698