summaryrefslogtreecommitdiffstats
path: root/net/base/escape.h
diff options
context:
space:
mode:
authorbrg@chromium.com <brg@chromium.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 22:40:27 +0000
committerbrg@chromium.com <brg@chromium.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 22:40:27 +0000
commit6e7a37818c0bffbd6cd2f500c37185f76d817337 (patch)
treef6adf9d42d648aa40dc61d99966686ef74a4847c /net/base/escape.h
parent62d30f47055262ff3793ef0404e3de051680e8c9 (diff)
downloadchromium_src-6e7a37818c0bffbd6cd2f500c37185f76d817337.zip
chromium_src-6e7a37818c0bffbd6cd2f500c37185f76d817337.tar.gz
chromium_src-6e7a37818c0bffbd6cd2f500c37185f76d817337.tar.bz2
Rename EscapeUrl and expand the code comment.
BUG=none TEST=Escape.EscapeUrlEncodedData Review URL: http://codereview.chromium.org/257021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27782 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/escape.h')
-rw-r--r--net/base/escape.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/base/escape.h b/net/base/escape.h
index 597755f..8761d4d 100644
--- a/net/base/escape.h
+++ b/net/base/escape.h
@@ -15,10 +15,10 @@
// non-printable, non-7bit, and (including space) "#%:<>?[\]^`{|}
std::string EscapePath(const std::string& path);
-// Escape an url. This includes:
+// Escape application/x-www-form-urlencoded content. This includes:
// non-printable, non-7bit, and (including space) ?>=<;+'&%$#"![\]^`{|}
// Space is escaped as + and other special characters as %XX (hex).
-std::string EscapeUrl(const std::string& path);
+std::string EscapeUrlEncodedData(const std::string& path);
// Escape all non-ASCII input.
std::string EscapeNonASCII(const std::string& input);