Chromium Code Reviews| Index: components/url_formatter/url_formatter.h |
| diff --git a/components/url_formatter/url_formatter.h b/components/url_formatter/url_formatter.h |
| index 90f2bbf9b73128e35a080382b35fe91d08db3d09..b3fe6d3279fc28d62c859f83555e92d2f416683a 100644 |
| --- a/components/url_formatter/url_formatter.h |
| +++ b/components/url_formatter/url_formatter.h |
| @@ -51,9 +51,13 @@ extern const FormatUrlType kFormatUrlOmitHTTP; |
| // meaningful for non-file "standard" URLs. |
| extern const FormatUrlType kFormatUrlOmitTrailingSlashOnBareHostname; |
| -// Convenience for omitting all unecessary types. |
| +// Convenience for omitting all unecessary types. Does not include experimental |
| +// flags below. |
| extern const FormatUrlType kFormatUrlOmitAll; |
| +// Replaces paths with an ellipsis. Experimental and not in kFormatUrlOmitAll. |
|
Peter Kasting
2017/06/28 20:54:35
As implemented, this actually replaces the path, q
tommycli
2017/06/28 21:21:39
Done.
|
| +extern const FormatUrlType kFormatUrlExperimentalEllipsizePath; |
| + |
| // Creates a string representation of |url|. The IDN host name is turned to |
| // Unicode if the Unicode representation is deemed safe. |format_type| is a |
| // bitmask of FormatUrlTypes, see it for details. |unescape_rules| defines how |