Add Promise.negate.
[chromium-blink-merge.git] / remoting / host / host_status_monitor.h
blob6cc80cb3c5f5eb637909d589e8b274b500e94beb
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_
8 namespace remoting {
10 class HostStatusObserver;
12 // Interface for registering host status observers.
13 class HostStatusMonitor {
14 public:
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_