| Index: remoting/host/host_status_monitor.h
|
| diff --git a/remoting/host/host_status_monitor.h b/remoting/host/host_status_monitor.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6cc80cb3c5f5eb637909d589e8b274b500e94beb
|
| --- /dev/null
|
| +++ b/remoting/host/host_status_monitor.h
|
| @@ -0,0 +1,24 @@
|
| +// 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_HOST_STATUS_MONITOR_H_
|
| +#define REMOTING_HOST_HOST_STATUS_MONITOR_H_
|
| +
|
| +namespace remoting {
|
| +
|
| +class HostStatusObserver;
|
| +
|
| +// Interface for registering host status observers.
|
| +class HostStatusMonitor {
|
| + public:
|
| + virtual ~HostStatusMonitor() {}
|
| +
|
| + // Add/Remove |observer| to/from the list of status observers.
|
| + virtual void AddStatusObserver(HostStatusObserver* observer) = 0;
|
| + virtual void RemoveStatusObserver(HostStatusObserver* observer) = 0;
|
| +};
|
| +
|
| +} // namespace remoting
|
| +
|
| +#endif // REMOTING_HOST_HOST_STATUS_MONITOR_H_
|
|
|