chromium/ui/base/idle/idle_polling_service.cc

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

#include "ui/base/idle/idle_polling_service.h"

#include "base/no_destructor.h"
#include "base/observer_list.h"
#include "base/task/sequenced_task_runner.h"
#include "ui/base/idle/idle.h"
#include "ui/base/idle/idle_time_provider.h"

namespace ui {

namespace {

// Default provider implementation. Everything is delegated to
// ui::CalculateIdleTime and ui::CheckIdleStateIsLocked.
class DefaultIdleProvider : public IdleTimeProvider {};

}  // namespace

// static
IdlePollingService* IdlePollingService::GetInstance() {}

const IdlePollingService::State& IdlePollingService::GetIdleState() {}

void IdlePollingService::AddObserver(Observer* observer) {}

void IdlePollingService::RemoveObserver(Observer* observer) {}

void IdlePollingService::SetProviderForTest(
    std::unique_ptr<IdleTimeProvider> provider) {}

void IdlePollingService::SetPollIntervalForTest(base::TimeDelta poll_interval) {}

bool IdlePollingService::IsPollingForTest() {}

void IdlePollingService::SetTaskRunnerForTest(
    scoped_refptr<base::SequencedTaskRunner> task_runner) {}

IdlePollingService::IdlePollingService()
    :{}

IdlePollingService::~IdlePollingService() = default;

void IdlePollingService::PollIdleState() {}

}  // namespace ui