summaryrefslogtreecommitdiffstats
path: root/remoting/host/fake_host_status_monitor.h
blob: 7c9e7eea07902a60bf53e46f5596858d656c95c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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_