| Index: remoting/host/desktop_environment.cc
|
| diff --git a/remoting/host/desktop_environment.cc b/remoting/host/desktop_environment.cc
|
| index e6e105728b35aa8eefd8ec63847d29b322576ca6..233bbda379a6ca36a93cb85fc9bbfb8d93b27a6f 100644
|
| --- a/remoting/host/desktop_environment.cc
|
| +++ b/remoting/host/desktop_environment.cc
|
| @@ -32,7 +32,9 @@ void DesktopEnvironment::SuggestResolution(
|
| }
|
|
|
| void DesktopEnvironment::BeginSessionRequest(
|
| - const protocol::LocalLoginCredentials* credentials, Task* done) {
|
| + protocol::ConnectionToClient* connection,
|
| + const protocol::LocalLoginCredentials* credentials,
|
| + Task* done) {
|
| DCHECK(event_handler_);
|
|
|
| bool success = false;
|
| @@ -49,10 +51,10 @@ void DesktopEnvironment::BeginSessionRequest(
|
| }
|
|
|
| if (success) {
|
| - event_handler_->LocalLoginSucceeded();
|
| + event_handler_->LocalLoginSucceeded(connection);
|
| } else {
|
| LOG(WARNING) << "Login failed for user " << credentials->username();
|
| - event_handler_->LocalLoginFailed();
|
| + event_handler_->LocalLoginFailed(connection);
|
| }
|
|
|
| done->Run();
|
|
|