#include "remoting/host/host_power_save_blocker.h"
#include <memory>
#include <utility>
#include "base/check.h"
#include "base/task/single_thread_task_runner.h"
#include "remoting/host/host_status_monitor.h"
#include "services/device/public/mojom/wake_lock.mojom.h"
namespace remoting {
HostPowerSaveBlocker::HostPowerSaveBlocker(
scoped_refptr<HostStatusMonitor> monitor,
const scoped_refptr<base::SingleThreadTaskRunner>& ui_task_runner,
const scoped_refptr<base::SingleThreadTaskRunner>& file_task_runner)
: … { … }
HostPowerSaveBlocker::~HostPowerSaveBlocker() { … }
void HostPowerSaveBlocker::OnClientConnected(const std::string& jid) { … }
void HostPowerSaveBlocker::OnClientDisconnected(const std::string& jid) { … }
}