summaryrefslogtreecommitdiffstats
path: root/webkit/blob
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 14:19:27 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-13 14:19:27 +0000
commita0200c5d1d5b98a8a9968b9d3aa893d7e88f59ad (patch)
tree5769d50bd1828cd576a5e5313690e232e02c9439 /webkit/blob
parentc72e24894a880d67ccc35ee67c85b784f1e829bb (diff)
downloadchromium_src-a0200c5d1d5b98a8a9968b9d3aa893d7e88f59ad.zip
chromium_src-a0200c5d1d5b98a8a9968b9d3aa893d7e88f59ad.tar.gz
chromium_src-a0200c5d1d5b98a8a9968b9d3aa893d7e88f59ad.tar.bz2
net: Move EscapeForHTML() functions into net namespace.
BUG=64263 TEST=None R=willchan@chromium.org Review URL: http://codereview.chromium.org/8256006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105304 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/blob')
-rw-r--r--webkit/blob/view_blob_internals_job.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/webkit/blob/view_blob_internals_job.cc b/webkit/blob/view_blob_internals_job.cc
index 1d562c5..753a6af 100644
--- a/webkit/blob/view_blob_internals_job.cc
+++ b/webkit/blob/view_blob_internals_job.cc
@@ -55,7 +55,7 @@ void EndHTML(std::string* out) {
void AddHTMLBoldText(const std::string& text, std::string* out) {
out->append("<b>");
- out->append(EscapeForHTML(text));
+ out->append(net::EscapeForHTML(text));
out->append("</b>");
}
@@ -73,7 +73,7 @@ void AddHTMLListItem(const std::string& element_title,
out->append("<li>");
// No need to escape element_title since constant string is passed.
out->append(element_title);
- out->append(EscapeForHTML(element_data));
+ out->append(net::EscapeForHTML(element_data));
out->append("</li>");
}
@@ -81,7 +81,7 @@ void AddHTMLButton(const std::string& title,
const std::string& command,
std::string* out) {
// No need to escape title since constant string is passed.
- std::string escaped_command = EscapeForHTML(command.c_str());
+ std::string escaped_command = net::EscapeForHTML(command.c_str());
base::StringAppendF(out,
"<form action=\"\" method=\"GET\">\n"
"<input type=\"hidden\" name=\"remove\" value=\"%s\">\n"
@@ -198,9 +198,9 @@ void ViewBlobInternalsJob::GenerateHTMLForBlobData(const BlobData& blob_data,
AddHTMLListItem(kType, "file", out);
AddHTMLListItem(kPath,
#if defined(OS_WIN)
- EscapeForHTML(WideToUTF8(item.file_path().value())),
+ net::EscapeForHTML(WideToUTF8(item.file_path().value())),
#else
- EscapeForHTML(item.file_path().value()),
+ net::EscapeForHTML(item.file_path().value()),
#endif
out);
if (!item.expected_modification_time().is_null()) {