| Index: components/payments/content/payment_request_state.h
|
| diff --git a/components/payments/content/payment_request_state.h b/components/payments/content/payment_request_state.h
|
| index cb0b2a97dd00e59c62b376a96ce537097fdd9025..2d82b535ae73000944fc74c724efd4bfc41e2073 100644
|
| --- a/components/payments/content/payment_request_state.h
|
| +++ b/components/payments/content/payment_request_state.h
|
| @@ -82,6 +82,12 @@ class PaymentRequestState : public PaymentResponseHelper::Delegate {
|
| // Returns whether the user has at least one instrument that satisfies the
|
| // specified supported payment methods.
|
| bool CanMakePayment() const;
|
| +
|
| + // Returns true if the payment methods that the merchant website have
|
| + // requested are supported. For example, may return true for "basic-card", but
|
| + // false for "https://bobpay.com".
|
| + bool AreRequestedMethodsSupported() const;
|
| +
|
| void AddObserver(Observer* observer);
|
| void RemoveObserver(Observer* observer);
|
|
|
|
|