1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 ts=2 autoindent cindent expandtab: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_ipc_ProcessUtils_h
8 #define mozilla_ipc_ProcessUtils_h
11 #include "base/process_util.h"
17 // You probably should call ContentChild::SetProcessName instead of calling
19 void SetThisProcessName(const char *aName
);
22 // see ProcessUtils_linux.cpp for explaination.
23 void ProcLoaderClientGeckoInit();
25 bool ProcLoaderLoad(const char *aArgv
[],
27 const base::file_handle_mapping_vector
&aFdsRemap
,
28 const base::ChildPrivileges aPrivs
,
29 base::ProcessHandle
*aProcessHandle
);
30 #endif /* MOZ_B2G_LOADER */
33 } // namespace mozilla
35 #endif // ifndef mozilla_ipc_ProcessUtils_h