| Index: remoting/host/chromoting_host.cc
|
| diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
|
| index a1e0e5197914de614363758ade03b0a35eb87e47..9398d3d9d2e6365a9f5621170e7be4e4b2658692 100644
|
| --- a/remoting/host/chromoting_host.cc
|
| +++ b/remoting/host/chromoting_host.cc
|
| @@ -402,7 +402,7 @@ void ChromotingHost::OnClientDisconnected(ConnectionToClient* connection) {
|
| if (old_authenticated_clients != authenticated_clients) {
|
| for (StatusObserverList::iterator it = status_observers_.begin();
|
| it != status_observers_.end(); ++it) {
|
| - (*it)->OnAuthenticatedClientsChanged(authenticated_clients);
|
| + (*it)->OnClientDisconnected(connection);
|
| }
|
| }
|
|
|
| @@ -518,7 +518,7 @@ void ChromotingHost::LocalLoginSucceeded(
|
| // Notify observers that there is at least one authenticated client.
|
| for (StatusObserverList::iterator it = status_observers_.begin();
|
| it != status_observers_.end(); ++it) {
|
| - (*it)->OnAuthenticatedClientsChanged(AuthenticatedClientsCount());
|
| + (*it)->OnClientAuthenticated(connection);
|
| }
|
| }
|
|
|
|
|