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_HOST_STATUS_MONITOR_H_
6 #define REMOTING_HOST_HOST_STATUS_MONITOR_H_
10 class HostStatusObserver
;
12 // Interface for registering host status observers.
13 class HostStatusMonitor
{
15 virtual ~HostStatusMonitor() {}
17 // Add/Remove |observer| to/from the list of status observers.
18 virtual void AddStatusObserver(HostStatusObserver
* observer
) = 0;
19 virtual void RemoveStatusObserver(HostStatusObserver
* observer
) = 0;
22 } // namespace remoting
24 #endif // REMOTING_HOST_HOST_STATUS_MONITOR_H_