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

Unified Diff: chrome/service/service_utility_process_host.cc

Issue 785353003: Update cloud_print and chrome/service to use the new version of LaunchProcess. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 | « chrome/service/cloud_print/cloud_print_proxy.cc ('k') | cloud_print/common/win/install_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_utility_process_host.cc
diff --git a/chrome/service/service_utility_process_host.cc b/chrome/service/service_utility_process_host.cc
index 1f30a7df369e25b14db15a6547b908ed5708b858..7bb80e22edd48f5f6392e04a49f3c6eec2c38f77 100644
--- a/chrome/service/service_utility_process_host.cc
+++ b/chrome/service/service_utility_process_host.cc
@@ -233,9 +233,7 @@ bool ServiceUtilityProcessHost::Launch(base::CommandLine* cmd_line,
bool no_sandbox) {
if (no_sandbox) {
cmd_line->AppendSwitch(switches::kNoSandbox);
- base::ProcessHandle handle;
- if (base::LaunchProcess(*cmd_line, base::LaunchOptions(), &handle))
- process_ = base::Process(handle);
+ process_ = base::LaunchProcess(*cmd_line, base::LaunchOptions());
} else {
ServiceSandboxedProcessLauncherDelegate delegate;
process_ = content::StartSandboxedProcess(&delegate, cmd_line);
« no previous file with comments | « chrome/service/cloud_print/cloud_print_proxy.cc ('k') | cloud_print/common/win/install_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698