summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_status_monitor.h
blob: 6cc80cb3c5f5eb637909d589e8b274b500e94beb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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_