#include "third_party/blink/renderer/modules/payments/payment_app_service_worker_registration.h"
#include "third_party/blink/public/common/permissions_policy/permissions_policy.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/modules/payments/payment_manager.h"
#include "third_party/blink/renderer/modules/service_worker/service_worker_registration.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
namespace blink {
namespace {
bool AllowedToUsePaymentFeatures(ScriptState* script_state) { … }
}
PaymentAppServiceWorkerRegistration::~PaymentAppServiceWorkerRegistration() =
default;
PaymentAppServiceWorkerRegistration& PaymentAppServiceWorkerRegistration::From(
ServiceWorkerRegistration& registration) { … }
PaymentManager* PaymentAppServiceWorkerRegistration::paymentManager(
ScriptState* script_state,
ServiceWorkerRegistration& registration,
ExceptionState& exception_state) { … }
PaymentManager* PaymentAppServiceWorkerRegistration::paymentManager(
ScriptState* script_state,
ExceptionState& exception_state) { … }
void PaymentAppServiceWorkerRegistration::Trace(Visitor* visitor) const { … }
PaymentAppServiceWorkerRegistration::PaymentAppServiceWorkerRegistration(
ServiceWorkerRegistration* registration)
: … { … }
const char PaymentAppServiceWorkerRegistration::kSupplementName[] = …;
}