#include "third_party/blink/renderer/modules/payments/payment_manager.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/modules/payments/payment_instruments.h"
#include "third_party/blink/renderer/modules/service_worker/service_worker_registration.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
namespace blink {
PaymentInstruments* PaymentManager::instruments() { … }
const String& PaymentManager::userHint() { … }
void PaymentManager::setUserHint(const String& user_hint) { … }
ScriptPromise<IDLBoolean> PaymentManager::enableDelegations(
ScriptState* script_state,
const Vector<V8PaymentDelegation>& delegations,
ExceptionState& exception_state) { … }
void PaymentManager::Trace(Visitor* visitor) const { … }
PaymentManager::PaymentManager(ServiceWorkerRegistration* registration)
: … { … }
void PaymentManager::OnEnableDelegationsResponse(
payments::mojom::blink::PaymentHandlerStatus status) { … }
void PaymentManager::OnServiceConnectionError() { … }
}