summaryrefslogtreecommitdiffstats
path: root/webkit/appcache
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/appcache
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/appcache')
-rw-r--r--webkit/appcache/view_appcache_internals_job.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/webkit/appcache/view_appcache_internals_job.cc b/webkit/appcache/view_appcache_internals_job.cc
index 8e73052..8a36ad7 100644
--- a/webkit/appcache/view_appcache_internals_job.cc
+++ b/webkit/appcache/view_appcache_internals_job.cc
@@ -71,17 +71,17 @@ void EmitListItem(const std::string& label,
const std::string& data,
std::string* out) {
out->append("<li>");
- out->append(EscapeForHTML(label));
- out->append(EscapeForHTML(data));
+ out->append(net::EscapeForHTML(label));
+ out->append(net::EscapeForHTML(data));
out->append("</li>\n");
}
void EmitAnchor(const std::string& url, const std::string& text,
std::string* out) {
out->append("<a href=\"");
- out->append(EscapeForHTML(url));
+ out->append(net::EscapeForHTML(url));
out->append("\">");
- out->append(EscapeForHTML(text));
+ out->append(net::EscapeForHTML(text));
out->append("</a>");
}
@@ -239,15 +239,15 @@ void EmitAppCacheResourceInfoVector(
void EmitResponseHeaders(net::HttpResponseHeaders* headers, std::string* out) {
out->append("<hr><pre>");
- out->append(EscapeForHTML(headers->GetStatusLine()));
+ out->append(net::EscapeForHTML(headers->GetStatusLine()));
out->push_back('\n');
void* iter = NULL;
std::string name, value;
while (headers->EnumerateHeaderLines(&iter, &name, &value)) {
- out->append(EscapeForHTML(name));
+ out->append(net::EscapeForHTML(name));
out->append(": ");
- out->append(EscapeForHTML(value));
+ out->append(net::EscapeForHTML(value));
out->push_back('\n');
}
out->append("</pre>");