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 3f837e098f28653f5fe7409a3c3682c09d9da108..b633097b3c3feb4be4a4cbd5ffc8c0d905e3ac79 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentInstruments.h |
+++ b/third_party/WebKit/Source/modules/payments/PaymentInstruments.h |
@@ -29,7 +29,7 @@ class MODULES_EXPORT PaymentInstruments final |
public: |
explicit PaymentInstruments(const payments::mojom::blink::PaymentManagerPtr&); |
- ScriptPromise deleteInstrument(const String& instrument_key); |
+ ScriptPromise deleteInstrument(ScriptState*, const String& instrument_key); |
ScriptPromise get(ScriptState*, const String& instrument_key); |
ScriptPromise keys(); |
ScriptPromise has(const String& instrument_key); |
@@ -41,11 +41,13 @@ class MODULES_EXPORT PaymentInstruments final |
DECLARE_TRACE(); |
private: |
- void onSetPaymentInstrument(ScriptPromiseResolver*, |
- payments::mojom::blink::PaymentHandlerStatus); |
+ void onDeletePaymentInstrument(ScriptPromiseResolver*, |
+ payments::mojom::blink::PaymentHandlerStatus); |
void onGetPaymentInstrument(ScriptPromiseResolver*, |
payments::mojom::blink::PaymentInstrumentPtr, |
payments::mojom::blink::PaymentHandlerStatus); |
+ void onSetPaymentInstrument(ScriptPromiseResolver*, |
+ payments::mojom::blink::PaymentHandlerStatus); |
const payments::mojom::blink::PaymentManagerPtr& manager_; |
}; |