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

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

Issue 2844673002: PaymentHandler: Implement PaymentInstruments.has(). (Closed)
Patch Set: 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.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentInstruments.idl b/third_party/WebKit/Source/modules/payments/PaymentInstruments.idl
index 9939b6803ad2ed23460945f71eb614449952bc28..125bb46339c78ed3be2dcda3a76823141e5b2943 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentInstruments.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentInstruments.idl
@@ -11,6 +11,6 @@
[CallWith=ScriptState, ImplementedAs=deleteInstrument] Promise<boolean> delete(DOMString instrumentKey);
[CallWith=ScriptState] Promise<PaymentInstrument> get(DOMString instrumentKey);
Promise<sequence<DOMString>> keys();
- Promise<boolean> has(DOMString instrumentKey);
+ [CallWith=ScriptState] Promise<boolean> has(DOMString instrumentKey);
[CallWith=ScriptState, RaisesException] Promise<void> set(DOMString instrumentKey, PaymentInstrument details);
};

Powered by Google App Engine
This is Rietveld 408576698