Chromium Code Reviews| Index: components/password_manager/core/browser/affiliation_utils.h |
| diff --git a/components/password_manager/core/browser/affiliation_utils.h b/components/password_manager/core/browser/affiliation_utils.h |
| index a8f13be7fb40b0f000d63ad3e5768b8a39b32c2b..f20aadad03063f46f97c78251ae9f659ceab76a8 100644 |
| --- a/components/password_manager/core/browser/affiliation_utils.h |
| +++ b/components/password_manager/core/browser/affiliation_utils.h |
| @@ -206,6 +206,11 @@ bool IsAffiliationRequestsForDummyFacetsEnabled( |
| std::string GetHumanReadableOrigin(const autofill::PasswordForm& password_form, |
| const std::string& languages); |
| +// Returns a string suitable for security display to the user (just like |
| +// |FormatUrlForSecurityDisplayOmitScheme| based on |url| and |languages|) and |
| +// without prefixes "m.", "mobile." or "www.". |
| +std::string GetShownOrigin(const GURL& url, const std::string& languages); |
|
vabr (Chromium)
2015/10/15 11:58:26
I don't think this has anything to do with affilia
|
| + |
| // For logging use only. |
| std::ostream& operator<<(std::ostream& os, const FacetURI& facet_uri); |