chromium/remoting/host/desktop_display_info_monitor.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 "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 {

// Polling interval for querying the OS for changes to the multi-monitor
// configuration. Before this class was written, the DesktopCapturerProxy would
// poll after each captured frame, which could occur up to 30x per second. The
// value chosen here is slower than this (to reduce the load on the OS), but
// still fast enough to be responsive to any changes.
constexpr base::TimeDelta kPollingInterval =;

}  // namespace

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) {}

}  // namespace remoting