blob: d142b2ff7d4b325592c0663804488719a5ff27f1 [file] [log] [blame]
// 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