Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: net/base/escape.h

Issue 7978039: net: Put more functions from escape.h into net namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/render_view.cc ('k') | net/base/escape.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/escape.h
diff --git a/net/base/escape.h b/net/base/escape.h
index 321ca2f82c0f9c8f9490b95019b9b116fbcbbf21..0d17b48012b14110728a2e925e66a868f028eb8c 100644
--- a/net/base/escape.h
+++ b/net/base/escape.h
@@ -122,6 +122,8 @@ NET_EXPORT string16 UnescapeAndDecodeUTF8URLComponentWithOffsets(
// < > & " '
NET_EXPORT string16 UnescapeForHTML(const string16& text);
+namespace net {
+
// Deprecated ------------------------------------------------------------------
// Escapes characters in text suitable for use as a query parameter value.
@@ -137,8 +139,6 @@ 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,
« no previous file with comments | « content/renderer/render_view.cc ('k') | net/base/escape.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698