| // Copyright 2016 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef PaymentRequestEventDataConversion_h |
| #define PaymentRequestEventDataConversion_h |
| |
| #include "modules/payments/PaymentRequestEventInit.h" |
| #include "platform/wtf/Allocator.h" |
| |
| namespace blink { |
| |
| class ScriptState; |
| struct WebPaymentRequestEventData; |
| |
| class MODULES_EXPORT PaymentRequestEventDataConversion { |
| STATIC_ONLY(PaymentRequestEventDataConversion); |
| |
| public: |
| static PaymentRequestEventInit ToPaymentRequestEventInit( |
| ScriptState*, |
| const WebPaymentRequestEventData&); |
| }; |
| |
| } // namespace blink |
| |
| #endif // PaymentRequestEventDataConversion_h |