OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_COMMON_NACL_PATHS_H_ | 5 #ifndef COMPONENTS_NACL_COMMON_NACL_PATHS_H_ |
6 #define COMPONENTS_NACL_COMMON_NACL_PATHS_H_ | 6 #define COMPONENTS_NACL_COMMON_NACL_PATHS_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 // This file declares path keys for the chrome module. These can be used with | 10 // This file declares path keys for the chrome module. These can be used with |
11 // the PathService to access various special directories and files. | 11 // the PathService to access various special directories and files. |
12 | 12 |
13 namespace nacl { | 13 namespace nacl { |
14 | 14 |
15 enum { | 15 enum { |
16 PATH_START = 9000, | 16 PATH_START = 9000, |
17 | 17 |
18 #if defined(OS_LINUX) | 18 #if defined(OS_LINUX) |
19 FILE_NACL_HELPER = PATH_START, // Full path to Linux nacl_helper executable. | 19 FILE_NACL_HELPER = PATH_START, // Full path to Linux nacl_helper executable. |
| 20 FILE_NACL_HELPER_NONSFI, // path to nacl_helper_nonsfi executable, |
20 FILE_NACL_HELPER_BOOTSTRAP, // ... and nacl_helper_bootstrap executable. | 21 FILE_NACL_HELPER_BOOTSTRAP, // ... and nacl_helper_bootstrap executable. |
21 #endif | 22 #endif |
22 | 23 |
23 PATH_END | 24 PATH_END |
24 }; | 25 }; |
25 | 26 |
26 // Call once to register the provider for the path keys defined above. | 27 // Call once to register the provider for the path keys defined above. |
27 void RegisterPathProvider(); | 28 void RegisterPathProvider(); |
28 | 29 |
29 } // namespace nacl | 30 } // namespace nacl |
30 | 31 |
31 #endif // COMPONENTS_NACL_COMMON_NACL_PATHS_H_ | 32 #endif // COMPONENTS_NACL_COMMON_NACL_PATHS_H_ |
OLD | NEW |