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 COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ | 5 #ifndef COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ |
6 #define COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ | 6 #define COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ |
7 | 7 |
8 #include "native_client/src/include/portability.h" | 8 struct NaClDesc; |
9 #include "native_client/src/public/imc_types.h" | |
10 | 9 |
11 namespace nacl { | 10 namespace nacl { |
12 namespace nonsfi { | 11 namespace nonsfi { |
13 | 12 |
14 // Launch NaCl with Non SFI mode. | 13 // Launch NaCl with Non SFI mode. This takes the ownership of |nexe_file|. |
15 void MainStart(NaClHandle imc_bootstrap_handle); | 14 void MainStart(NaClDesc* nexe_file); |
16 | 15 |
17 } // namespace nonsfi | 16 } // namespace nonsfi |
18 } // namespace nacl | 17 } // namespace nacl |
19 | 18 |
20 #endif // COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ | 19 #endif // COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ |
OLD | NEW |