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

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

Issue 2476343002: PaymentApp: Initial implementation for PaymentAppManager.setManifest(). (Closed)
Patch Set: fix lint error Created 4 years, 1 month 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/PaymentAppManager.idl
diff --git a/third_party/WebKit/Source/modules/payments/PaymentAppManager.idl b/third_party/WebKit/Source/modules/payments/PaymentAppManager.idl
index 5646a1b0ef031e4280802e77a773958ae4d2470d..c2a284040098244545c4956fdd7a15439f09b92b 100644
--- a/third_party/WebKit/Source/modules/payments/PaymentAppManager.idl
+++ b/third_party/WebKit/Source/modules/payments/PaymentAppManager.idl
@@ -6,7 +6,9 @@
[
RuntimeEnabled=PaymentApp,
+ ConstructorCallWith=ScriptState,
+ DependentLifetime,
] interface PaymentAppManager {
- Promise<void> setManifest(PaymentAppManifest manifest);
- Promise<PaymentAppManifest> getManifest();
+ [CallWith=ScriptState] Promise<void> setManifest(PaymentAppManifest manifest);
+ [CallWith=ScriptState] Promise<PaymentAppManifest> getManifest();
};

Powered by Google App Engine
This is Rietveld 408576698