OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MOJO_NACL_NONSFI_NEXE_LAUNCHER_NONSFI_H_ | 5 #ifndef MOJO_NACL_NONSFI_NEXE_LAUNCHER_NONSFI_H_ |
6 #define MOJO_NACL_NONSFI_NEXE_LAUNCHER_NONSFI_H_ | 6 #define MOJO_NACL_NONSFI_NEXE_LAUNCHER_NONSFI_H_ |
7 | 7 |
8 #include "mojo/public/c/system/types.h" | 8 #include "mojo/public/c/system/types.h" |
9 | 9 |
10 namespace nacl { | 10 namespace nacl { |
11 | 11 |
12 /** | 12 /** |
13 * Takes a fd to a nexe, and launches the nexe with the given | 13 * Takes a fd to a nexe, and launches the nexe with the given |
14 * MojoHandle. | 14 * MojoHandle. |
15 */ | 15 */ |
16 void MojoLaunchNexeNonsfi(int nexe_fd, MojoHandle initial_handle); | 16 void MojoLaunchNexeNonsfi(int nexe_fd, MojoHandle initial_handle, |
| 17 bool enable_translate_irt); |
17 | 18 |
18 } // namespace nacl | 19 } // namespace nacl |
19 | 20 |
20 #endif // MOJO_NACL_NONSFI_NEXE_LAUNCHER_NONSFI_H_ | 21 #endif // MOJO_NACL_NONSFI_NEXE_LAUNCHER_NONSFI_H_ |
OLD | NEW |