summaryrefslogtreecommitdiffstats
path: root/net/base/escape.h
diff options
context:
space:
mode:
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