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

Unified Diff: chrome/service/service_child_process_host.cc

Issue 7351003: Clean up users of a deprecated base::LaunchApp API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: win-only Created 9 years, 5 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 | « chrome/service/cloud_print/cloud_print_proxy.cc ('k') | chrome/test/layout_test_http_server.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/service/service_child_process_host.cc
diff --git a/chrome/service/service_child_process_host.cc b/chrome/service/service_child_process_host.cc
index 3222a4833472f558fbb0bdabca0447ec7d64d1ec..b9e7886f8fd6b481c893a3be88449de51c3e4f51 100644
--- a/chrome/service/service_child_process_host.cc
+++ b/chrome/service/service_child_process_host.cc
@@ -36,7 +36,9 @@ bool ServiceChildProcessHost::Launch(CommandLine* cmd_line,
if (no_sandbox) {
base::ProcessHandle process = base::kNullProcessHandle;
cmd_line->AppendSwitch(switches::kNoSandbox);
- base::LaunchApp(*cmd_line, false, false, &process);
+ base::LaunchOptions options;
+ options.process_handle = &process;
+ base::LaunchProcess(*cmd_line, options);
set_handle(process);
} else {
set_handle(sandbox::StartProcessWithAccess(cmd_line, exposed_dir));
« no previous file with comments | « chrome/service/cloud_print/cloud_print_proxy.cc ('k') | chrome/test/layout_test_http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698