#include "media/audio/alive_checker.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/task/sequenced_task_runner.h"
namespace media {
AliveChecker::AliveChecker(base::RepeatingClosure dead_callback,
base::TimeDelta check_interval,
base::TimeDelta timeout,
bool stop_at_first_alive_notification,
bool pause_check_during_suspend)
: … { … }
AliveChecker::AliveChecker(
base::RepeatingClosure dead_callback,
base::TimeDelta check_interval,
base::TimeDelta timeout,
bool stop_at_first_alive_notification,
PowerObserverHelperFactoryCallback power_observer_helper_factory_callback)
: … { … }
AliveChecker::AliveChecker(
base::RepeatingClosure dead_callback,
base::TimeDelta check_interval,
base::TimeDelta timeout,
bool stop_at_first_alive_notification,
bool pause_check_during_suspend,
PowerObserverHelperFactoryCallback power_observer_helper_factory_callback)
: … { … }
AliveChecker::~AliveChecker() { … }
void AliveChecker::Start() { … }
void AliveChecker::Stop() { … }
bool AliveChecker::DetectedDead() { … }
void AliveChecker::NotifyAlive() { … }
void AliveChecker::CheckIfAlive() { … }
void AliveChecker::SetLastAliveNotificationTimeToNowOnTaskRunner() { … }
}