Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: third_party/WebKit/Source/modules/payments/PaymentInstruments.h

Issue 2844463002: PaymentHandler: Implement PaymentInstruments.delete(). (Closed)
Patch Set: PaymentHandler: Implement PaymentInstruments.delete(). Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
};

Powered by Google App Engine
This is Rietveld 408576698