Index: remoting/host/host_status_observer.h |
diff --git a/remoting/host/host_status_observer.h b/remoting/host/host_status_observer.h |
index fc158ec73984439642fa73a6ee3a12911bbe87da..3de73fde6ed0216e66f10f8df2b9622594679649 100644 |
--- a/remoting/host/host_status_observer.h |
+++ b/remoting/host/host_status_observer.h |
@@ -8,9 +8,12 @@ |
#include <string> |
namespace remoting { |
- |
class SignalStrategy; |
+namespace protocol { |
+class ConnectionToClient; |
+} |
+ |
class HostStatusObserver { |
public: |
HostStatusObserver() { } |
@@ -28,7 +31,10 @@ class HostStatusObserver { |
// Called on the main thread when a client authenticates, or disconnects. |
// The observer must not tear-down ChromotingHost state on receipt of |
// this callback; it is purely informational. |
- virtual void OnAuthenticatedClientsChanged(int authenticated_clients) = 0; |
+ virtual void OnClientAuthenticated( |
+ remoting::protocol::ConnectionToClient* client) = 0; |
+ virtual void OnClientDisconnected( |
+ remoting::protocol::ConnectionToClient* client) = 0; |
// Called on the main thread when the host shuts down. |
virtual void OnShutdown() = 0; |