Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(348)

Unified Diff: remoting/host/win/wts_console_session_process_driver.cc

Issue 11118005: Pass the client end handle of the network-to-daemon IPC channel via handle inheritance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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() {

Powered by Google App Engine
This is Rietveld 408576698