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

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

Issue 2859803002: Reland "PaymentHandler: Implement PaymentInstruments.keys()." (Closed)
Patch Set: Reland "PaymentHandler: Implement PaymentInstruments.keys()." 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 2e808116e0075d3693ef7e8cbcc698c2ef83eb9e..689c541cff6dbf11472846db0f232e375ac6fe20 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*,

Powered by Google App Engine
This is Rietveld 408576698