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

Unified Diff: components/password_manager/core/browser/affiliation_utils_unittest.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_unittest.cc
diff --git a/components/password_manager/core/browser/affiliation_utils_unittest.cc b/components/password_manager/core/browser/affiliation_utils_unittest.cc
index 332271e1c9f9058990c09a3ea959a1c4133e9d4b..c55232fa6d03e3b05810747c379026f7e628ff9b 100644
--- a/components/password_manager/core/browser/affiliation_utils_unittest.cc
+++ b/components/password_manager/core/browser/affiliation_utils_unittest.cc
@@ -219,7 +219,7 @@ TEST_F(GetHumanReadableOriginTest, OriginFromHtmlForm) {
html_form.origin = GURL(kSchemeHostExample + "/LoginAuth");
html_form.action = GURL(kSchemeHostExample + "/Login");
html_form.scheme = autofill::PasswordForm::SCHEME_HTML;
- EXPECT_EQ(GetHumanReadableOrigin(html_form, ""), "http://example.com");
+ EXPECT_EQ(GetHumanReadableOrigin(html_form), "http://example.com");
}
TEST_F(GetHumanReadableOriginTest, OriginFromDigestForm) {
@@ -227,7 +227,7 @@ TEST_F(GetHumanReadableOriginTest, OriginFromDigestForm) {
non_html_form.scheme = autofill::PasswordForm::SCHEME_DIGEST;
non_html_form.action = GURL();
non_html_form.signon_realm = kSchemeHostExample + "42";
- EXPECT_EQ(GetHumanReadableOrigin(non_html_form, ""), "http://example.com");
+ EXPECT_EQ(GetHumanReadableOrigin(non_html_form), "http://example.com");
}
TEST_F(GetHumanReadableOriginTest, OriginFromAndroidForm) {
@@ -240,7 +240,7 @@ TEST_F(GetHumanReadableOriginTest, OriginFromAndroidForm) {
"m3HSJL1i83hdltRq0-o9czGb-8KJDKra4t_"
"3JRlnPKcjI8PZm6XBHXx6zG4UuMXaDEZjR1wuXDre9G9zvN7AQw=="
"@com.example.android";
- EXPECT_EQ(GetHumanReadableOrigin(android_form, ""),
+ EXPECT_EQ(GetHumanReadableOrigin(android_form),
"android://com.example.android");
}

Powered by Google App Engine
This is Rietveld 408576698