Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Unified Diff: components/password_manager/core/browser/affiliation_utils.cc

Issue 1841653003: Drop |languages| from {Format,Elide}Url* and IDNToUnicode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo in elide_url.cc Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/password_manager/core/browser/affiliation_utils.cc
diff --git a/components/password_manager/core/browser/affiliation_utils.cc b/components/password_manager/core/browser/affiliation_utils.cc
index ddc2575c920787f3cb189e80dc8a9833b780c0be..19b9ba1c01c0c8bc5e38d3717710f6c5c3e497fb 100644
--- a/components/password_manager/core/browser/affiliation_utils.cc
+++ b/components/password_manager/core/browser/affiliation_utils.cc
@@ -295,15 +295,15 @@ bool IsValidAndroidFacetURI(const std::string& url) {
return facet.IsValidAndroidFacetURI();
}
-std::string GetHumanReadableOrigin(const autofill::PasswordForm& password_form,
- const std::string& languages) {
+std::string GetHumanReadableOrigin(
+ const autofill::PasswordForm& password_form) {
FacetURI facet_uri =
FacetURI::FromPotentiallyInvalidSpec(password_form.signon_realm);
if (facet_uri.IsValidAndroidFacetURI())
return GetHumanReadableOriginForAndroidUri(facet_uri);
- return base::UTF16ToUTF8(url_formatter::FormatUrlForSecurityDisplay(
- password_form.origin, languages));
+ return base::UTF16ToUTF8(
+ url_formatter::FormatUrlForSecurityDisplay(password_form.origin));
}
std::string GetHumanReadableOriginForAndroidUri(const FacetURI facet_uri) {

Powered by Google App Engine
This is Rietveld 408576698