OLD | NEW |
(Empty) | |
| 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_HOST_STATUS_MONITOR_H_ |
| 6 #define REMOTING_HOST_HOST_STATUS_MONITOR_H_ |
| 7 |
| 8 namespace remoting { |
| 9 |
| 10 class HostStatusObserver; |
| 11 |
| 12 // Interface for registering host status observers. |
| 13 class HostStatusMonitor { |
| 14 public: |
| 15 virtual ~HostStatusMonitor() {} |
| 16 |
| 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; |
| 20 }; |
| 21 |
| 22 } // namespace remoting |
| 23 |
| 24 #endif // REMOTING_HOST_HOST_STATUS_MONITOR_H_ |
OLD | NEW |