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

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

Issue 2424353002: Use ChannelMojo between the remoting daemon and network processes. (Closed)
Patch Set: sans test changes Created 4 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 | « remoting/host/win/unprivileged_process_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/wts_session_process_delegate.cc
diff --git a/remoting/host/win/wts_session_process_delegate.cc b/remoting/host/win/wts_session_process_delegate.cc
index d5d9f58c89b108afc4084b64559ce37a23f7e5b9..7469d5d74fc9a931d8d241ff7865c2b500c0e918 100644
--- a/remoting/host/win/wts_session_process_delegate.cc
+++ b/remoting/host/win/wts_session_process_delegate.cc
@@ -414,16 +414,13 @@ void WtsSessionProcessDelegate::Core::DoLaunchProcess() {
// Try to launch the process.
ScopedHandle worker_process;
ScopedHandle worker_thread;
- if (!LaunchProcessWithToken(command_line.GetProgram(),
- command_line.GetCommandLineString(),
- session_token_.Get(),
- security_attributes.get(),
- nullptr,
- false,
- CREATE_SUSPENDED | CREATE_BREAKAWAY_FROM_JOB,
- base::UTF8ToUTF16(kDefaultDesktopName).c_str(),
- &worker_process,
- &worker_thread)) {
+ if (!LaunchProcessWithToken(
+ command_line.GetProgram(), command_line.GetCommandLineString(),
+ session_token_.Get(), security_attributes.get(),
+ /* thread_attributes= */ nullptr, /* handles_to_inherit=*/{},
+ /* creation_flags= */ CREATE_SUSPENDED | CREATE_BREAKAWAY_FROM_JOB,
+ base::UTF8ToUTF16(kDefaultDesktopName).c_str(), &worker_process,
+ &worker_thread)) {
ReportFatalError();
return;
}
« no previous file with comments | « remoting/host/win/unprivileged_process_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698