| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MONACL_SEL_MAIN_H_ | 5 #ifndef MOJO_NACL_MONACL_SEL_MAIN_H_ |
| 6 #define MOJO_NACL_MONACL_SEL_MAIN_H_ | 6 #define MOJO_NACL_MONACL_SEL_MAIN_H_ |
| 7 | 7 |
| 8 #include "mojo/public/c/system/types.h" | 8 #include "mojo/public/c/system/types.h" |
| 9 | 9 |
| 10 struct NaClDesc; | 10 struct NaClDesc; |
| 11 | 11 |
| 12 namespace mojo { | 12 namespace mojo { |
| 13 | 13 |
| 14 // Callee assumes ownership of |nexe_desc|, |irt_desc|, and |handle|. | 14 // Callee assumes ownership of |nexe_desc|, |irt_desc|, and |handle|. |
| 15 int LaunchNaCl(NaClDesc* nexe_desc, | 15 int LaunchNaCl(NaClDesc* nexe_desc, |
| 16 NaClDesc* irt_desc, | 16 NaClDesc* irt_desc, |
| 17 int app_argc, | 17 int app_argc, |
| 18 char* app_argv[], | 18 char* app_argv[], |
| 19 MojoHandle handle); | 19 MojoHandle handle); |
| 20 | 20 |
| 21 void NaClExit(int code); | 21 void NaClExit(int code); |
| 22 | 22 |
| 23 } // namespace mojo | 23 } // namespace mojo |
| 24 | 24 |
| 25 #endif // MOJO_NACL_MONACL_SEL_MAIN_H_ | 25 #endif // MOJO_NACL_MONACL_SEL_MAIN_H_ |
| OLD | NEW |