Index: components/autofill/core/browser/autofill_common_test.cc |
diff --git a/components/autofill/core/browser/autofill_common_test.cc b/components/autofill/core/browser/autofill_common_test.cc |
index f477b25c2e62c7382b29f9963660e41ee3628173..2187d8b7bea898894935f77ec2ab5485de7adafd 100644 |
--- a/components/autofill/core/browser/autofill_common_test.cc |
+++ b/components/autofill/core/browser/autofill_common_test.cc |
@@ -128,12 +128,25 @@ CreditCard GetCreditCard() { |
return credit_card; |
} |
+CreditCard GetCreditCard2() { |
+ CreditCard credit_card(base::GenerateGUID(), "https://www.example.com"); |
+ SetCreditCardInfo( |
+ &credit_card, "Someone Else", "378282246310005" /* AmEx */, "07", "2019"); |
+ return credit_card; |
+} |
+ |
CreditCard GetVerifiedCreditCard() { |
CreditCard credit_card(GetCreditCard()); |
credit_card.set_origin(kSettingsOrigin); |
return credit_card; |
} |
+CreditCard GetVerifiedCreditCard2() { |
+ CreditCard credit_card(GetCreditCard2()); |
+ credit_card.set_origin(kSettingsOrigin); |
+ return credit_card; |
+} |
+ |
void SetProfileInfo(AutofillProfile* profile, |
const char* first_name, const char* middle_name, |
const char* last_name, const char* email, const char* company, |