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. 4 5 #ifndef REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_ 6 #define REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_ 7 8 #include "base/memory/weak_ptr.h" 9 #include "remoting/host/host_status_monitor.h" 10 11 namespace remoting { 12 13 // An implementation of HostStatusMonitor that does nothing. 14 class FakeHostStatusMonitor 15 : public base::SupportsWeakPtr<FakeHostStatusMonitor>, 16 public HostStatusMonitor { 17 public: 18 virtual ~FakeHostStatusMonitor() {} 19 20 // HostStatusMonitor interface. 21 virtual void AddStatusObserver(HostStatusObserver* observer) OVERRIDE {} 22 virtual void RemoveStatusObserver(HostStatusObserver* observer) OVERRIDE {} 23 }; 24 25 } // namespace remoting 26 27 #endif // REMOTING_HOST_FAKE_HOST_STATUS_MONITOR_H_ 28