#include "third_party/blink/renderer/modules/payments/abort_payment_respond_with_observer.h"
#include "third_party/blink/renderer/bindings/core/v8/script_value.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_binding_for_core.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/payments/payment_handler_utils.h"
#include "third_party/blink/renderer/modules/service_worker/service_worker_global_scope.h"
#include "third_party/blink/renderer/modules/service_worker/wait_until_observer.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/instrumentation/use_counter.h"
#include "v8/include/v8.h"
namespace blink {
AbortPaymentRespondWithObserver::AbortPaymentRespondWithObserver(
ExecutionContext* context,
int event_id,
WaitUntilObserver* observer)
: … { … }
void AbortPaymentRespondWithObserver::OnResponseRejected(
blink::mojom::ServiceWorkerResponseError error) { … }
void AbortPaymentRespondWithObserver::OnResponseFulfilled(
ScriptState* script_state,
const ScriptValue& value,
const ExceptionContext& exception_context) { … }
void AbortPaymentRespondWithObserver::OnNoResponse(ScriptState*) { … }
void AbortPaymentRespondWithObserver::Trace(Visitor* visitor) const { … }
}