| Index: net/base/escape.h
|
| ===================================================================
|
| --- net/base/escape.h (revision 36299)
|
| +++ net/base/escape.h (working copy)
|
| @@ -92,6 +92,8 @@
|
| // conversions need to take place, it only unescapes.
|
| std::string UnescapeURLComponent(const std::string& escaped_text,
|
| UnescapeRule::Type rules);
|
| +string16 UnescapeURLComponent(const string16& escaped_text,
|
| + UnescapeRule::Type rules);
|
|
|
| // 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
|
| @@ -106,6 +108,10 @@
|
| UnescapeRule::Type rules,
|
| size_t* offset_for_adjustment);
|
|
|
| +// Unescape the following ampersand character codes from |text|:
|
| +// < > & " '
|
| +string16 UnescapeForHTML(const string16& text);
|
| +
|
| // Deprecated ------------------------------------------------------------------
|
|
|
| // Escapes characters in text suitable for use as a query parameter value.
|
|
|