| Index: net/base/escape.h
|
| diff --git a/net/base/escape.h b/net/base/escape.h
|
| index 6c92333ba3db6582cf7f68c8c06e914056787c6d..c11df083636f1559fc416cd46200014aa40da545 100644
|
| --- a/net/base/escape.h
|
| +++ b/net/base/escape.h
|
| @@ -30,6 +30,12 @@ NET_EXPORT std::string EscapeQueryParamValue(const std::string& text,
|
| // encoding the string. If this conversion fails, we return false.
|
| NET_EXPORT std::string EscapePath(const std::string& path);
|
|
|
| +#if defined(OS_MACOSX)
|
| +// Escapes characters as per expectations of NSURL. This includes:
|
| +// non-printable, non-7bit, and (including space) "#%<>[\]^`{|}
|
| +NET_EXPORT std::string EscapeNSURLPrecursor(const std::string& precursor);
|
| +#endif // defined(OS_MACOSX)
|
| +
|
| // Escapes application/x-www-form-urlencoded content. This includes:
|
| // non-printable, non-7bit, and (including space) ?>=<;+'&%$#"![\]^`{|}
|
| // Space is escaped as + (if use_plus is true) and other special characters
|
|
|