summaryrefslogtreecommitdiffstats
path: root/net/base/escape.h
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-20 16:56:07 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-20 16:56:07 +0000
commit427b69e553b41ca985b0676b2b5e6be0647a1729 (patch)
treea0f3ac64698e0cad38784cd206258c2f37d1a296 /net/base/escape.h
parentbbd42b9b165a410db5a71b60a8f4a5e55cbb6590 (diff)
downloadchromium_src-427b69e553b41ca985b0676b2b5e6be0647a1729.zip
chromium_src-427b69e553b41ca985b0676b2b5e6be0647a1729.tar.gz
chromium_src-427b69e553b41ca985b0676b2b5e6be0647a1729.tar.bz2
net: Start wrapping escape.h into namespace net.
BUG=64263 TEST=None R=willchan@chromium.org Review URL: http://codereview.chromium.org/7934007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/escape.h')
-rw-r--r--net/base/escape.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/net/base/escape.h b/net/base/escape.h
index 91e87b2..321ca2f 100644
--- a/net/base/escape.h
+++ b/net/base/escape.h
@@ -137,11 +137,15 @@ NET_EXPORT bool EscapeQueryParamValue(const string16& text,
bool use_plus,
string16* escaped);
+namespace net {
+
// A specialized version of EscapeQueryParamValue for string16s that
// assumes the codepage is UTF8. This is provided as a convenience.
NET_EXPORT string16 EscapeQueryParamValueUTF8(const string16& text,
bool use_plus);
+namespace internal {
+
// Private Functions (Exposed for Unit Testing) --------------------------------
// A function called by std::for_each that will adjust any offset which occurs
@@ -155,4 +159,8 @@ struct NET_EXPORT_PRIVATE AdjustEncodingOffset {
const Adjustments& adjustments;
};
+} // namespace internal
+
+} // namespace net
+
#endif // NET_BASE_ESCAPE_H_