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

Unified Diff: chrome/browser/password_manager/account_chooser_dialog_android_unittest.cc

Issue 2531863002: Delete all the traces of federation providers in the account chooser. (Closed)
Patch Set: android2 Created 4 years, 1 month 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: chrome/browser/password_manager/account_chooser_dialog_android_unittest.cc
diff --git a/chrome/browser/password_manager/account_chooser_dialog_android_unittest.cc b/chrome/browser/password_manager/account_chooser_dialog_android_unittest.cc
index c8cf1aec539b959ff3798f35b17918a0651f2f83..32543ad0740ec3f8aa6b90e097aa251e700eaefc 100644
--- a/chrome/browser/password_manager/account_chooser_dialog_android_unittest.cc
+++ b/chrome/browser/password_manager/account_chooser_dialog_android_unittest.cc
@@ -63,10 +63,8 @@ void AccountChooserDialogAndroidTest::SetUp() {
AccountChooserDialogAndroid* AccountChooserDialogAndroidTest::CreateDialog(
std::vector<std::unique_ptr<autofill::PasswordForm>> credentials) {
- std::vector<std::unique_ptr<autofill::PasswordForm>> deprecated_federated;
return new AccountChooserDialogAndroid(
- web_contents(), std::move(credentials), std::move(deprecated_federated),
- GURL("https://example.com"),
+ web_contents(), std::move(credentials), GURL("https://example.com"),
base::Bind(&AccountChooserDialogAndroidTest::OnChooseCredential,
base::Unretained(this)));
}
@@ -93,8 +91,6 @@ TEST_F(AccountChooserDialogAndroidTest,
dialog->OnCredentialClicked(
base::android::AttachCurrentThread(), nullptr /* obj */,
0 /* credential_item */,
- static_cast<int>(
- password_manager::CredentialType::CREDENTIAL_TYPE_PASSWORD),
false /* signin_button_clicked */);
dialog->Destroy(base::android::AttachCurrentThread(), nullptr);
@@ -112,8 +108,6 @@ TEST_F(AccountChooserDialogAndroidTest,
dialog->OnCredentialClicked(
base::android::AttachCurrentThread(), nullptr /* obj */,
0 /* credential_item */,
- static_cast<int>(
- password_manager::CredentialType::CREDENTIAL_TYPE_PASSWORD),
true /* signin_button_clicked */);
dialog->Destroy(base::android::AttachCurrentThread(), nullptr);
histogram_tester.ExpectUniqueSample(
@@ -129,8 +123,6 @@ TEST_F(AccountChooserDialogAndroidTest, CheckHistogramsReportingManyAccounts) {
dialog->OnCredentialClicked(
base::android::AttachCurrentThread(), nullptr /* obj */,
0 /* credential_item */,
- static_cast<int>(
- password_manager::CredentialType::CREDENTIAL_TYPE_PASSWORD),
false /* signin_button_clicked */);
dialog->Destroy(base::android::AttachCurrentThread(), nullptr);

Powered by Google App Engine
This is Rietveld 408576698