#include "third_party/blink/renderer/modules/wake_lock/wake_lock_sentinel.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/core/dom/events/event.h"
#include "third_party/blink/renderer/core/execution_context/execution_context.h"
#include "third_party/blink/renderer/modules/event_target_modules_names.h"
#include "third_party/blink/renderer/modules/wake_lock/wake_lock_manager.h"
#include "third_party/blink/renderer/platform/bindings/script_state.h"
namespace blink {
WakeLockSentinel::WakeLockSentinel(ScriptState* script_state,
V8WakeLockType::Enum type,
WakeLockManager* manager)
: … { … }
WakeLockSentinel::~WakeLockSentinel() = default;
ScriptPromise<IDLUndefined> WakeLockSentinel::release(
ScriptState* script_state) { … }
bool WakeLockSentinel::released() const { … }
V8WakeLockType WakeLockSentinel::type() const { … }
ExecutionContext* WakeLockSentinel::GetExecutionContext() const { … }
const AtomicString& WakeLockSentinel::InterfaceName() const { … }
void WakeLockSentinel::Trace(Visitor* visitor) const { … }
bool WakeLockSentinel::HasPendingActivity() const { … }
void WakeLockSentinel::ContextDestroyed() { … }
void WakeLockSentinel::DoRelease() { … }
}