Index: remoting/host/host_status_observer.h |
diff --git a/remoting/host/host_status_observer.h b/remoting/host/host_status_observer.h |
index 45bdd22918d69822aacce2cc36b56635b35df18e..fc158ec73984439642fa73a6ee3a12911bbe87da 100644 |
--- a/remoting/host/host_status_observer.h |
+++ b/remoting/host/host_status_observer.h |
@@ -25,6 +25,11 @@ class HostStatusObserver { |
// to connect to the host. |
virtual void OnAccessDenied() = 0; |
+ // 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; |
+ |
// Called on the main thread when the host shuts down. |
virtual void OnShutdown() = 0; |
}; |