Index: third_party/WebKit/Source/modules/payments/PaymentInstruments.h |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentInstruments.h b/third_party/WebKit/Source/modules/payments/PaymentInstruments.h |
index b633097b3c3feb4be4a4cbd5ffc8c0d905e3ac79..4bb1f202c375b781c22d3a680c7e09600cc89b1f 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentInstruments.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentInstruments.h |
@@ -32,7 +32,7 @@ class MODULES_EXPORT PaymentInstruments final |
ScriptPromise deleteInstrument(ScriptState*, const String& instrument_key); |
ScriptPromise get(ScriptState*, const String& instrument_key); |
ScriptPromise keys(); |
- ScriptPromise has(const String& instrument_key); |
+ ScriptPromise has(ScriptState*, const String& instrument_key); |
ScriptPromise set(ScriptState*, |
const String& instrument_key, |
const PaymentInstrument& details, |
@@ -46,6 +46,8 @@ class MODULES_EXPORT PaymentInstruments final |
void onGetPaymentInstrument(ScriptPromiseResolver*, |
payments::mojom::blink::PaymentInstrumentPtr, |
payments::mojom::blink::PaymentHandlerStatus); |
+ void onHasPaymentInstrument(ScriptPromiseResolver*, |
+ payments::mojom::blink::PaymentHandlerStatus); |
void onSetPaymentInstrument(ScriptPromiseResolver*, |
payments::mojom::blink::PaymentHandlerStatus); |