Bumping manifests a=b2g-bump
[gecko.git] / ipc / glue / PProcLoader.ipdl
blobd295d8b7221a57562e9746d7a0b5fab4a51cf47f
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 file,
5  * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 namespace mozilla {
8 namespace ipc {
10 struct FDRemap {
11   FileDescriptor fd;
12   int mapto;
15 protocol PProcLoader
17 child:
18   /**
19    * Request B2G loader service to load content process.
20    *
21    * It actually calls the main() function of plugin-container.
22    */
23   async Load(nsCString[] argv, nsCString[] env,
24              FDRemap[] fdsRemap, uint32_t privs,
25              int32_t cookie);
27 parent:
28   /**
29    * The acknowledgement of Load().
30    */
31   async LoadComplete(int32_t pid, int32_t cookie);