Index: remoting/host/win/wts_console_session_process_driver.cc |
diff --git a/remoting/host/win/wts_console_session_process_driver.cc b/remoting/host/win/wts_console_session_process_driver.cc |
index 5bd7cd561616d2602dd6a991e7773d195a6745c8..7e973346aba1bc24ee514c01bcb2b3b874588793 100644 |
--- a/remoting/host/win/wts_console_session_process_driver.cc |
+++ b/remoting/host/win/wts_console_session_process_driver.cc |
@@ -4,12 +4,7 @@ |
#include "remoting/host/win/wts_console_session_process_driver.h" |
-#include <sddl.h> |
-#include <limits> |
- |
#include "base/base_switches.h" |
-#include "base/bind.h" |
-#include "base/bind_helpers.h" |
#include "base/file_path.h" |
#include "base/logging.h" |
#include "base/single_thread_task_runner.h" |
@@ -98,14 +93,12 @@ void WtsConsoleSessionProcessDriver::OnSessionAttached(uint32 session_id) { |
io_task_runner_, |
host_binary, |
session_id, |
- true)); |
+ true, |
+ kDaemonIpcSecurityDescriptor)); |
// Use the Delegate to launch the host process. |
- launcher_.reset(new WorkerProcessLauncher(caller_task_runner_, |
- io_task_runner_, |
- delegate.Pass(), |
- this, |
- kDaemonIpcSecurityDescriptor)); |
+ launcher_.reset(new WorkerProcessLauncher( |
+ caller_task_runner_, delegate.Pass(), this)); |
} |
void WtsConsoleSessionProcessDriver::OnSessionDetached() { |