| 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);
|
|
|
|
|