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 5968a21fe50820227b11da95c2ddabe92daa7298..84b343ab4c60b0002233c648ea91b9132098f22b 100644 |
--- a/components/payments/core/autofill_payment_instrument.h |
+++ b/components/payments/core/autofill_payment_instrument.h |
@@ -40,13 +40,16 @@ class AutofillPaymentInstrument |
// PaymentInstrument: |
void InvokePaymentApp(PaymentInstrument::Delegate* delegate) override; |
- bool IsValid() override; |
+ bool IsCompleteForPayment() override; |
+ bool IsValidForCanMakePayment() override; |
// autofill::payments::FullCardRequest::ResultDelegate: |
void OnFullCardRequestSucceeded(const autofill::CreditCard& card, |
const base::string16& cvc) override; |
void OnFullCardRequestFailed() override; |
+ autofill::CreditCard* credit_card() { return &credit_card_; } |
+ |
private: |
// A copy of the card is owned by this object. |
autofill::CreditCard credit_card_; |