chromium/third_party/blink/renderer/modules/idle/idle_manager.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/modules/idle/idle_manager.h"

#include "base/task/single_thread_task_runner.h"
#include "third_party/blink/public/platform/browser_interface_broker_proxy.h"
#include "third_party/blink/renderer/bindings/modules/v8/v8_permission_state.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/modules/permissions/permission_utils.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"

namespace blink {

// static
const char IdleManager::kSupplementName[] =;

// static
IdleManager* IdleManager::From(ExecutionContext* context) {}

IdleManager::IdleManager(ExecutionContext* context)
    :{}

IdleManager::~IdleManager() = default;

ScriptPromise<V8PermissionState> IdleManager::RequestPermission(
    ScriptState* script_state,
    ExceptionState& exception_state) {}

void IdleManager::AddMonitor(
    mojo::PendingRemote<mojom::blink::IdleMonitor> monitor,
    mojom::blink::IdleManager::AddMonitorCallback callback) {}

void IdleManager::Trace(Visitor* visitor) const {}

void IdleManager::InitForTesting(
    mojo::PendingRemote<mojom::blink::IdleManager> idle_service) {}

void IdleManager::OnPermissionRequestComplete(
    ScriptPromiseResolver<V8PermissionState>* resolver,
    mojom::blink::PermissionStatus status) {}

}  // namespace blink