Index: third_party/WebKit/Source/modules/payments/PaymentRequest.h |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentRequest.h b/third_party/WebKit/Source/modules/payments/PaymentRequest.h |
index f1c43c185897e750238c0521c55986613e4bc0d0..9d74c232cb90936029ba9e0bdf7e61a20674f873 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentRequest.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentRequest.h |
@@ -67,7 +67,7 @@ class MODULES_EXPORT PaymentRequest final |
DEFINE_ATTRIBUTE_EVENT_LISTENER(shippingaddresschange); |
DEFINE_ATTRIBUTE_EVENT_LISTENER(shippingoptionchange); |
- ScriptPromise canMakeActivePayment(ScriptState*); |
+ ScriptPromise canMakePayment(ScriptState*); |
// ScriptWrappable: |
bool hasPendingActivity() const override; |
@@ -105,8 +105,8 @@ class MODULES_EXPORT PaymentRequest final |
void OnError(payments::mojom::blink::PaymentErrorReason) override; |
void OnComplete() override; |
void OnAbort(bool abortedSuccessfully) override; |
- void OnCanMakeActivePayment( |
- payments::mojom::blink::ActivePaymentQueryResult) override; |
+ void OnCanMakePayment( |
+ payments::mojom::blink::CanMakePaymentQueryResult) override; |
void onCompleteTimeout(TimerBase*); |
@@ -120,7 +120,7 @@ class MODULES_EXPORT PaymentRequest final |
Member<ScriptPromiseResolver> m_showResolver; |
Member<ScriptPromiseResolver> m_completeResolver; |
Member<ScriptPromiseResolver> m_abortResolver; |
- Member<ScriptPromiseResolver> m_canMakeActivePaymentResolver; |
+ Member<ScriptPromiseResolver> m_canMakePaymentResolver; |
payments::mojom::blink::PaymentRequestPtr m_paymentProvider; |
mojo::Binding<payments::mojom::blink::PaymentRequestClient> m_clientBinding; |
Timer<PaymentRequest> m_completeTimer; |