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 4bb1f202c375b781c22d3a680c7e09600cc89b1f..2b5fc1b52efcaefc01e50f4892de6f10b2b0e397 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentInstruments.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentInstruments.h |
@@ -31,7 +31,7 @@ class MODULES_EXPORT PaymentInstruments final |
ScriptPromise deleteInstrument(ScriptState*, const String& instrument_key); |
ScriptPromise get(ScriptState*, const String& instrument_key); |
- ScriptPromise keys(); |
+ ScriptPromise keys(ScriptState*); |
ScriptPromise has(ScriptState*, const String& instrument_key); |
ScriptPromise set(ScriptState*, |
const String& instrument_key, |
@@ -46,6 +46,9 @@ class MODULES_EXPORT PaymentInstruments final |
void onGetPaymentInstrument(ScriptPromiseResolver*, |
payments::mojom::blink::PaymentInstrumentPtr, |
payments::mojom::blink::PaymentHandlerStatus); |
+ void onKeysOfPaymentInstruments(ScriptPromiseResolver*, |
+ const Vector<String>&, |
+ payments::mojom::blink::PaymentHandlerStatus); |
void onHasPaymentInstrument(ScriptPromiseResolver*, |
payments::mojom::blink::PaymentHandlerStatus); |
void onSetPaymentInstrument(ScriptPromiseResolver*, |