summaryrefslogtreecommitdiffstats
path: root/net/base/escape.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-02 23:05:08 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-02 23:05:08 +0000
commit48797906a6bba708e777908049b8496035ed860f (patch)
treec3b9f76f773e92ad70e0f3352ff5d518be1b17d3 /net/base/escape.h
parent2cec759bc34b3f3e7fb3a624474f8ea188a3c975 (diff)
downloadchromium_src-48797906a6bba708e777908049b8496035ed860f.zip
chromium_src-48797906a6bba708e777908049b8496035ed860f.tar.gz
chromium_src-48797906a6bba708e777908049b8496035ed860f.tar.bz2
net: Move UnescapeURLComponent() functions into net namespace.
BUG=64263 TEST=None R=willchan@chromium.org Review URL: http://codereview.chromium.org/8109004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103677 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 1e4594c..eede454 100644
--- a/net/base/escape.h
+++ b/net/base/escape.h
@@ -85,6 +85,8 @@ class UnescapeRule {
};
};
+namespace net {
+
// Unescapes |escaped_text| and returns the result.
// Unescaping consists of looking for the exact pattern "%XX", where each X is
// a hex digit, and converting to the character with the numerical value of
@@ -100,8 +102,6 @@ NET_EXPORT std::string UnescapeURLComponent(const std::string& escaped_text,
NET_EXPORT string16 UnescapeURLComponent(const string16& escaped_text,
UnescapeRule::Type rules);
-namespace net {
-
// Unescapes the given substring as a URL, and then tries to interpret the
// result as being encoded as UTF-8. If the result is convertable into UTF-8, it
// will be returned as converted. If it is not, the original escaped string will