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 #include "mojo/nacl/monacl_sel_main.h" | 5 #include "nacl_bindings/monacl_sel_main.h" |
6 | 6 |
7 #include "mojo/nacl/mojo_syscall.h" | 7 #include "nacl_bindings/mojo_syscall.h" |
8 #include "native_client/src/public/chrome_main.h" | 8 #include "native_client/src/public/chrome_main.h" |
9 #include "native_client/src/public/nacl_app.h" | 9 #include "native_client/src/public/nacl_app.h" |
10 | 10 |
11 namespace mojo { | 11 namespace mojo { |
12 | 12 |
13 int LaunchNaCl(NaClDesc* nexe_desc, | 13 int LaunchNaCl(NaClDesc* nexe_desc, |
14 NaClDesc* irt_desc, | 14 NaClDesc* irt_desc, |
15 int app_argc, | 15 int app_argc, |
16 char* app_argv[], | 16 char* app_argv[], |
17 MojoHandle handle) { | 17 MojoHandle handle) { |
(...skipping 11 matching lines...) Expand all Loading... |
29 | 29 |
30 int exit_status = 1; | 30 int exit_status = 1; |
31 NaClChromeMainStart(nap, args, &exit_status); | 31 NaClChromeMainStart(nap, args, &exit_status); |
32 return exit_status; | 32 return exit_status; |
33 } | 33 } |
34 | 34 |
35 void NaClExit(int code) { | 35 void NaClExit(int code) { |
36 ::NaClExit(code); | 36 ::NaClExit(code); |
37 } | 37 } |
38 | 38 |
39 } // namespace mojo | 39 } // namespace mojo |
OLD | NEW |