| Index: components/payments/core/autofill_payment_instrument.h
|
| diff --git a/components/payments/core/autofill_payment_instrument.h b/components/payments/core/autofill_payment_instrument.h
|
| index d6d9ec6c60d23f81d911b23de2015d3a6cf7e964..ca0e125d666fc2c50c9c6e2c1e6577db4ffd6325 100644
|
| --- a/components/payments/core/autofill_payment_instrument.h
|
| +++ b/components/payments/core/autofill_payment_instrument.h
|
| @@ -26,17 +26,21 @@ class AutofillPaymentInstrument : public PaymentInstrument {
|
| // |billing_profiles| is owned by the caller and should outlive this object.
|
| AutofillPaymentInstrument(
|
| const std::string& method_name,
|
| - const autofill::CreditCard& credit_card,
|
| + const autofill::CreditCard& card,
|
| const std::vector<autofill::AutofillProfile*>& billing_profiles,
|
| const std::string& app_locale);
|
| ~AutofillPaymentInstrument() override;
|
|
|
| // PaymentInstrument:
|
| void InvokePaymentApp(PaymentInstrument::Delegate* delegate) override;
|
| + bool IsValid() override;
|
|
|
| private:
|
| + // A copy of the card is owned by this object.
|
| const autofill::CreditCard credit_card_;
|
| + // Not owned by this object, should outlive this.
|
| const std::vector<autofill::AutofillProfile*>& billing_profiles_;
|
| +
|
| const std::string app_locale_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(AutofillPaymentInstrument);
|
|
|