blob: 7c9e7eea07902a60bf53e46f5596858d656c95c2 [file] [log] [blame]
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_
#define REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_
#include "base/memory/weak_ptr.h"
#include "remoting/host/host_status_monitor.h"
namespace remoting {
// An implementation of HostStatusMonitor that does nothing.
class FakeHostStatusMonitor
: public base::SupportsWeakPtr<FakeHostStatusMonitor>,
public HostStatusMonitor {
public:
~FakeHostStatusMonitor() override {}
// HostStatusMonitor interface.
void AddStatusObserver(HostStatusObserver* observer) override {}
void RemoveStatusObserver(HostStatusObserver* observer) override {}
};
} // namespace remoting
#endif // REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_