summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autofill/autofill_common_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autofill/autofill_common_test.cc')
-rw-r--r--chrome/browser/autofill/autofill_common_test.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/chrome/browser/autofill/autofill_common_test.cc b/chrome/browser/autofill/autofill_common_test.cc
index 3c7c319..c4c8482 100644
--- a/chrome/browser/autofill/autofill_common_test.cc
+++ b/chrome/browser/autofill/autofill_common_test.cc
@@ -55,16 +55,13 @@ void SetProfileInfo(AutoFillProfile* profile,
}
void SetCreditCardInfo(CreditCard* credit_card,
- const char* label, const char* name_on_card, const char* type,
- const char* card_number, const char* expiration_month,
- const char* expiration_year, int billing_address_id) {
+ const char* label, const char* name_on_card, const char* card_number,
+ const char* expiration_month, const char* expiration_year) {
credit_card->set_label(ASCIIToUTF16(label));
check_and_set(credit_card, CREDIT_CARD_NAME, name_on_card);
- check_and_set(credit_card, CREDIT_CARD_TYPE, type);
check_and_set(credit_card, CREDIT_CARD_NUMBER, card_number);
check_and_set(credit_card, CREDIT_CARD_EXP_MONTH, expiration_month);
check_and_set(credit_card, CREDIT_CARD_EXP_4_DIGIT_YEAR, expiration_year);
- credit_card->set_billing_address_id(billing_address_id);
}
void DisableSystemServices(Profile* profile) {