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

Unified Diff: remoting/host/daemon_process_win.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
« no previous file with comments | « no previous file | remoting/host/remoting_me2me_host.cc » ('j') | remoting/host/remoting_me2me_host.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/daemon_process_win.cc
diff --git a/remoting/host/daemon_process_win.cc b/remoting/host/daemon_process_win.cc
index c29ebb644562729cc56c64c005836448824af3aa..d18c61e16f64b1a33485667219c461c79495e04d 100644
--- a/remoting/host/daemon_process_win.cc
+++ b/remoting/host/daemon_process_win.cc
@@ -29,10 +29,6 @@ namespace {
const FilePath::CharType kMe2meHostBinaryName[] =
FILE_PATH_LITERAL("remoting_host.exe");
-// The security descriptor of the daemon IPC endpoint. It gives full access
-// to LocalSystem and denies access by anyone else.
-const char kDaemonPipeSecurityDescriptor[] = "O:SYG:SYD:(A;;GA;;;SY)";
-
} // namespace
namespace remoting {
@@ -90,11 +86,8 @@ void DaemonProcessWin::LaunchNetworkProcess() {
scoped_ptr<UnprivilegedProcessDelegate> delegate(
new UnprivilegedProcessDelegate(main_task_runner(), io_task_runner(),
dir_path.Append(kMe2meHostBinaryName)));
- launcher_.reset(new WorkerProcessLauncher(main_task_runner(),
- io_task_runner(),
- delegate.Pass(),
- this,
- kDaemonPipeSecurityDescriptor));
+ launcher_.reset(new WorkerProcessLauncher(
+ main_task_runner(), delegate.Pass(), this));
}
void DaemonProcessWin::Send(IPC::Message* message) {
« no previous file with comments | « no previous file | remoting/host/remoting_me2me_host.cc » ('j') | remoting/host/remoting_me2me_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698