Roll src/third_party/WebKit d9c6159:8139f33 (svn 201974:201975)
[chromium-blink-merge.git] / remoting / host / fake_host_status_monitor.h
blob7c9e7eea07902a60bf53e46f5596858d656c95c2
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_
6 #define REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_
8 #include "base/memory/weak_ptr.h"
9 #include "remoting/host/host_status_monitor.h"
11 namespace remoting {
13 // An implementation of HostStatusMonitor that does nothing.
14 class FakeHostStatusMonitor
15 : public base::SupportsWeakPtr<FakeHostStatusMonitor>,
16 public HostStatusMonitor {
17 public:
18 ~FakeHostStatusMonitor() override {}
20 // HostStatusMonitor interface.
21 void AddStatusObserver(HostStatusObserver* observer) override {}
22 void RemoveStatusObserver(HostStatusObserver* observer) override {}
25 } // namespace remoting
27 #endif // REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_