summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_child_process_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/service/service_child_process_host.cc')
-rw-r--r--chrome/service/service_child_process_host.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/service/service_child_process_host.cc b/chrome/service/service_child_process_host.cc
index c7cbea2e..00dfacc 100644
--- a/chrome/service/service_child_process_host.cc
+++ b/chrome/service/service_child_process_host.cc
@@ -22,13 +22,14 @@ ServiceChildProcessHost::~ServiceChildProcessHost() {
base::KillProcess(handle(), ResultCodes::NORMAL_EXIT, false);
}
-bool ServiceChildProcessHost::Launch(CommandLine* cmd_line) {
+bool ServiceChildProcessHost::Launch(CommandLine* cmd_line,
+ const FilePath& exposed_dir) {
#if !defined(OS_WIN)
// TODO(sanjeevr): Implement for non-Windows OSes.
NOTIMPLEMENTED();
return false;
#else // !defined(OS_WIN)
- set_handle(sandbox::StartProcessWithAccess(cmd_line, FilePath()));
+ set_handle(sandbox::StartProcessWithAccess(cmd_line, exposed_dir));
return (handle() != base::kNullProcessHandle);
#endif // !defined(OS_WIN)
}