#include "remoting/host/desktop_display_info_monitor.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
#include "base/time/time.h"
#include "remoting/base/logging.h"
#include "remoting/proto/control.pb.h"
namespace remoting {
namespace {
constexpr base::TimeDelta kPollingInterval = …;
}
DesktopDisplayInfoMonitor::DesktopDisplayInfoMonitor(
scoped_refptr<base::SequencedTaskRunner> ui_task_runner)
: … { … }
DesktopDisplayInfoMonitor::~DesktopDisplayInfoMonitor() { … }
void DesktopDisplayInfoMonitor::Start() { … }
void DesktopDisplayInfoMonitor::QueryDisplayInfo() { … }
void DesktopDisplayInfoMonitor::AddCallback(
DesktopDisplayInfoMonitor::Callback callback) { … }
void DesktopDisplayInfoMonitor::QueryDisplayInfoImpl() { … }
void DesktopDisplayInfoMonitor::OnDisplayInfoLoaded(DesktopDisplayInfo info) { … }
}