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..3dea7d7d95c3e9192b896a418290aadc05a24ab2 100644 |
| --- a/components/password_manager/core/browser/affiliation_utils.h |
| +++ b/components/password_manager/core/browser/affiliation_utils.h |
| @@ -206,6 +206,10 @@ bool IsAffiliationRequestsForDummyFacetsEnabled( |
| std::string GetHumanReadableOrigin(const autofill::PasswordForm& password_form, |
| const std::string& languages); |
| +// Remove prefixes "m.", "mobile." or "www." from the result of |
|
Evan Stade
2015/10/05 18:59:41
nit: this kind of comment is likely to get out of
kolos1
2015/10/06 18:52:33
Yes, I agree, but there are many ways to get "huma
|
| +// |FormatUrlForSecurityDisplayOmitScheme| based on |url| and |languages|. |
| +std::string GetShownOrigin(const GURL& url, const std::string& languages); |
| + |
| // For logging use only. |
| std::ostream& operator<<(std::ostream& os, const FacetURI& facet_uri); |