| Index: components/autofill/core/browser/credit_card.cc
|
| diff --git a/components/autofill/core/browser/credit_card.cc b/components/autofill/core/browser/credit_card.cc
|
| index 85c50edab6087592f4a4e8be13fabc362f97d060..19603b828aae92fdab5bf1909f1f2bf19cee1bfa 100644
|
| --- a/components/autofill/core/browser/credit_card.cc
|
| +++ b/components/autofill/core/browser/credit_card.cc
|
| @@ -127,6 +127,15 @@ CreditCard::CreditCard(const base::string16& card_number,
|
| SetExpirationYear(expiration_year);
|
| }
|
|
|
| +CreditCard::CreditCard(const std::string& wallet_id, RecordType type)
|
| + : AutofillDataModel(std::string(), std::string()),
|
| + record_type_(type),
|
| + type_(kGenericCard),
|
| + expiration_month_(0),
|
| + expiration_year_(0),
|
| + wallet_id_(wallet_id) {
|
| +}
|
| +
|
| CreditCard::CreditCard()
|
| : AutofillDataModel(base::GenerateGUID(), std::string()),
|
| record_type_(LOCAL_CARD),
|
|
|