Index: third_party/WebKit/Source/modules/payments/PaymentMethodData.idl |
diff --git a/third_party/WebKit/Source/modules/payments/PaymentItem.idl b/third_party/WebKit/Source/modules/payments/PaymentMethodData.idl |
similarity index 66% |
copy from third_party/WebKit/Source/modules/payments/PaymentItem.idl |
copy to third_party/WebKit/Source/modules/payments/PaymentMethodData.idl |
index 7a7ab7dc2ea6c56eb63246e00aefee8e3994562e..059a02516af778a240bbbbd0ccefbc4d939c14ba 100644 |
--- a/third_party/WebKit/Source/modules/payments/PaymentItem.idl |
+++ b/third_party/WebKit/Source/modules/payments/PaymentMethodData.idl |
@@ -2,11 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#paymentitem-dictionary |
+// https://w3c.github.io/browser-payment-api/specs/paymentrequest.html#idl-def-paymentmethoddata |
[ |
RuntimeEnabled=PaymentRequest |
-] dictionary PaymentItem { |
- required DOMString label; |
- required CurrencyAmount amount; |
+] dictionary PaymentMethodData { |
+ required sequence<DOMString> supportedMethods; |
+ object data; |
}; |