Index: net/base/escape.cc |
=================================================================== |
--- net/base/escape.cc (revision 139570) |
+++ net/base/escape.cc (working copy) |
@@ -247,6 +247,10 @@ |
} // namespace |
+std::string EscapeQueryParamValue(const std::string& text, bool use_plus) { |
+ return Escape(text, kQueryCharmap, use_plus); |
+} |
+ |
std::string EscapePath(const std::string& path) { |
return Escape(path, kPathCharmap, false); |
} |
@@ -354,16 +358,6 @@ |
return text; |
} |
-std::string EscapeQueryParamValue(const std::string& text, bool use_plus) { |
- return Escape(text, kQueryCharmap, use_plus); |
-} |
- |
-// Convert the string to a sequence of bytes and then % escape anything |
-// except alphanumerics and !'()*-._~ |
-string16 EscapeQueryParamValueUTF8(const string16& text, bool use_plus) { |
- return UTF8ToUTF16(Escape(UTF16ToUTF8(text), kQueryCharmap, use_plus)); |
-} |
- |
namespace internal { |
AdjustEncodingOffset::AdjustEncodingOffset(const Adjustments& adjustments) |