OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WebPaymentMethodData_h |
| 6 #define WebPaymentMethodData_h |
| 7 |
| 8 #include "public/platform/WebString.h" |
| 9 #include "public/platform/WebVector.h" |
| 10 #include "public/platform/modules/payments/WebPaymentDetailsModifier.h" |
| 11 #include "public/platform/modules/payments/WebPaymentItem.h" |
| 12 #include "public/platform/modules/payments/WebPaymentMethodData.h" |
| 13 |
| 14 namespace blink { |
| 15 |
| 16 // https://w3c.github.io/browser-payment-api/#paymentmethoddata-dictionary |
| 17 struct WebPaymentMethodData { |
| 18 WebVector<WebString> supportedMethods; |
| 19 WebString stringifiedData; |
| 20 }; |
| 21 |
| 22 } // namespace blink |
| 23 |
| 24 #endif // WebPaymentMethodData_h |
OLD | NEW |