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

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

Issue 2856973002: PaymentHandler: Implement PaymentInstruments.clear(). (Closed)
Patch Set: PaymentHandler: Implement PaymentInstruments.clear(). Created 3 years, 7 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 689c541cff6dbf11472846db0f232e375ac6fe20..993d474ac3bb69cde90210f7e3613986a9bb176e 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentInstruments.h
+++ b/third_party/WebKit/Source/modules/payments/PaymentInstruments.h
@@ -37,6 +37,7 @@ class MODULES_EXPORT PaymentInstruments final
const String& instrument_key,
const PaymentInstrument& details,
ExceptionState&);
+ ScriptPromise clear(ScriptState*);
DECLARE_TRACE();
@@ -53,6 +54,8 @@ class MODULES_EXPORT PaymentInstruments final
payments::mojom::blink::PaymentHandlerStatus);
void onSetPaymentInstrument(ScriptPromiseResolver*,
payments::mojom::blink::PaymentHandlerStatus);
+ void onClearPaymentInstruments(ScriptPromiseResolver*,
+ payments::mojom::blink::PaymentHandlerStatus);
const payments::mojom::blink::PaymentManagerPtr& manager_;
};

Powered by Google App Engine
This is Rietveld 408576698