| 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 dcef090b6ac735079740b980c4395edd411d9136..37d62824771f4d4c8de6956979b3e974b45cdfe4 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);
|
|
|
|
|