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

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

Issue 2790013002: PaymentHandler: Implement set/get methods in PaymentInstruments (blink) (Closed)
Patch Set: blink 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 0446f8d05ad330489f3e9c4b1b4fd5e367531278..a6c5fd8b312a2a87c1e5259370c946ec563afa6d 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentInstruments.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentInstruments.idl
@@ -9,8 +9,8 @@
Exposed=ServiceWorker
] interface PaymentInstruments {
[ImplementedAs=deleteInstrument] Promise<boolean> delete(DOMString instrumentKey);
- Promise<PaymentInstrument> get(DOMString instrumentKey);
+ [CallWith=ScriptState] Promise<PaymentInstrument> get(DOMString instrumentKey);
Promise<sequence<DOMString>> keys();
Promise<boolean> has(DOMString instrumentKey);
- Promise<void> set(DOMString instrumentKey, PaymentInstrument details);
+ [CallWith=ScriptState, RaisesException] Promise<void> set(DOMString instrumentKey, PaymentInstrument details);
};

Powered by Google App Engine
This is Rietveld 408576698