| Index: components/payments/core/autofill_payment_instrument.cc
|
| diff --git a/components/payments/core/autofill_payment_instrument.cc b/components/payments/core/autofill_payment_instrument.cc
|
| index 08502b4e832477bd4c4697e276240ca7fa536ee9..dad051d22328a9a7a626809646f701317fa47318 100644
|
| --- a/components/payments/core/autofill_payment_instrument.cc
|
| +++ b/components/payments/core/autofill_payment_instrument.cc
|
| @@ -103,6 +103,12 @@ bool AutofillPaymentInstrument::IsValidForCanMakePayment() {
|
| status & autofill::CREDIT_CARD_NO_NUMBER);
|
| }
|
|
|
| +void AutofillPaymentInstrument::RecordUse() {
|
| + // Record the use of the credit card.
|
| + payment_request_delegate_->GetPersonalDataManager()->RecordUseOf(
|
| + credit_card_);
|
| +}
|
| +
|
| void AutofillPaymentInstrument::OnFullCardRequestSucceeded(
|
| const autofill::CreditCard& card,
|
| const base::string16& cvc) {
|
|
|