| Index: remoting/host/chromoting_host.cc
|
| diff --git a/remoting/host/chromoting_host.cc b/remoting/host/chromoting_host.cc
|
| index 1d42059425fd92743d49edec0e46b872983a5221..ad06f8dcbab11b68822354a2b59d34dd3322e1ca 100644
|
| --- a/remoting/host/chromoting_host.cc
|
| +++ b/remoting/host/chromoting_host.cc
|
| @@ -496,6 +496,11 @@ void ChromotingHost::LocalLoginSucceeded(
|
| // Immediately add the connection and start the session.
|
| recorder_->AddConnection(connection);
|
| recorder_->Start();
|
| + // Notify observers that there is at least one authenticated client.
|
| + for (StatusObserverList::iterator it = status_observers_.begin();
|
| + it != status_observers_.end(); ++it) {
|
| + (*it)->OnClientAuthenticated(connection);
|
| + }
|
| // TODO(jamiewalch): Tidy up actions to be taken on connect/disconnect,
|
| // including closing the connection on failure of a critical operation.
|
| EnableCurtainMode(true);
|
| @@ -506,12 +511,6 @@ void ChromotingHost::LocalLoginSucceeded(
|
| username.replace(pos, std::string::npos, "");
|
| desktop_environment_->OnConnect(username);
|
| }
|
| -
|
| - // Notify observers that there is at least one authenticated client.
|
| - for (StatusObserverList::iterator it = status_observers_.begin();
|
| - it != status_observers_.end(); ++it) {
|
| - (*it)->OnClientAuthenticated(connection);
|
| - }
|
| }
|
|
|
| void ChromotingHost::LocalLoginFailed(
|
|
|