#include "third_party/blink/renderer/modules/payments/can_make_payment_event.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/core/workers/worker_global_scope.h"
#include "third_party/blink/renderer/core/workers/worker_location.h"
#include "third_party/blink/renderer/modules/payments/can_make_payment_respond_with_observer.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/bindings/v8_binding.h"
#include "third_party/blink/renderer/platform/wtf/text/atomic_string.h"
namespace blink {
CanMakePaymentEvent* CanMakePaymentEvent::Create(
const AtomicString& type,
const CanMakePaymentEventInit* initializer) { … }
CanMakePaymentEvent* CanMakePaymentEvent::Create(
const AtomicString& type,
const CanMakePaymentEventInit* initializer,
CanMakePaymentRespondWithObserver* respond_with_observer,
WaitUntilObserver* wait_until_observer) { … }
CanMakePaymentEvent::~CanMakePaymentEvent() = default;
const AtomicString& CanMakePaymentEvent::InterfaceName() const { … }
const String& CanMakePaymentEvent::topOrigin() const { … }
const String& CanMakePaymentEvent::paymentRequestOrigin() const { … }
const HeapVector<Member<PaymentMethodData>>& CanMakePaymentEvent::methodData()
const { … }
const HeapVector<Member<PaymentDetailsModifier>>&
CanMakePaymentEvent::modifiers() const { … }
void CanMakePaymentEvent::respondWith(ScriptState* script_state,
ScriptPromiseUntyped script_promise,
ExceptionState& exception_state) { … }
void CanMakePaymentEvent::Trace(Visitor* visitor) const { … }
CanMakePaymentEvent::CanMakePaymentEvent(
const AtomicString& type,
const CanMakePaymentEventInit* initializer,
CanMakePaymentRespondWithObserver* respond_with_observer,
WaitUntilObserver* wait_until_observer)
: … { … }
}