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 struct NaClDesc; | |
9 | |
10 namespace nacl { | 8 namespace nacl { |
11 namespace nonsfi { | 9 namespace nonsfi { |
12 | 10 |
13 // Launch NaCl with Non SFI mode. This takes the ownership of |nexe_file|. | 11 // Launch NaCl with Non SFI mode. This takes the ownership of |nexe_file|. |
14 void MainStart(NaClDesc* nexe_file); | 12 void MainStart(int nexe_file); |
15 | 13 |
16 } // namespace nonsfi | 14 } // namespace nonsfi |
17 } // namespace nacl | 15 } // namespace nacl |
18 | 16 |
19 #endif // COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ | 17 #endif // COMPONENTS_NACL_LOADER_NONSFI_NONSFI_MAIN_H_ |
OLD | NEW |