#include "third_party/blink/renderer/modules/push_messaging/push_subscription_callbacks.h"
#include <memory>
#include "base/memory/ptr_util.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/push_messaging/push_subscription.h"
namespace blink {
PushSubscriptionCallbacks::PushSubscriptionCallbacks(
ScriptPromiseResolverBase* resolver,
bool null_allowed)
: … { … }
PushSubscriptionCallbacks::~PushSubscriptionCallbacks() = default;
void PushSubscriptionCallbacks::OnSuccess(PushSubscription* push_subscription) { … }
void PushSubscriptionCallbacks::OnError(DOMException* error) { … }
}