| Index: components/url_formatter/elide_url.h
|
| diff --git a/components/url_formatter/elide_url.h b/components/url_formatter/elide_url.h
|
| index 5f929cab3e9b9098d6bf231efee7a015c74f6506..acdccbf70e0adf5d293dbf2ba8f2d3ea587feb95 100644
|
| --- a/components/url_formatter/elide_url.h
|
| +++ b/components/url_formatter/elide_url.h
|
| @@ -18,6 +18,10 @@ namespace gfx {
|
| class FontList;
|
| }
|
|
|
| +namespace url {
|
| +class Origin;
|
| +}
|
| +
|
| namespace url_formatter {
|
|
|
| // ElideUrl and Elide host require
|
| @@ -78,6 +82,12 @@ base::string16 FormatUrlForSecurityDisplay(
|
| const GURL& origin,
|
| const SchemeDisplay scheme_display = SchemeDisplay::SHOW);
|
|
|
| +// This is a convenience function for formatting a url::Origin in a concise and
|
| +// human-friendly way, to help users make security-related decisions.
|
| +base::string16 FormatOriginForSecurityDisplay(
|
| + const url::Origin& origin,
|
| + const SchemeDisplay scheme_display = SchemeDisplay::SHOW);
|
| +
|
| } // namespace url_formatter
|
|
|
| #endif // COMPONENTS_URL_FORMATTER_ELIDE_URL_H_
|
|
|