Chromium Code Reviews| Index: chrome/common/nacl_paths.h |
| diff --git a/chrome/common/nacl_paths.h b/chrome/common/nacl_paths.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6c63643b35021ef548579dd0719e1cbb5408a046 |
| --- /dev/null |
| +++ b/chrome/common/nacl_paths.h |
| @@ -0,0 +1,31 @@ |
| +// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_COMMON_NACL_PATHS_H_ |
| +#define CHROME_COMMON_NACL_PATHS_H_ |
| + |
| +#include "build/build_config.h" |
| + |
| +// This file declares path keys for the chrome module. These can be used with |
| +// the PathService to access various special directories and files. |
| + |
| +namespace nacl { |
| + |
| +enum { |
| + PATH_START = 9000, |
|
Mark Seaborn
2013/06/21 13:53:26
Where does 9000 come from? What stops this from c
|
| + |
| +#if defined(OS_POSIX) && !defined(OS_MACOSX) |
|
Mark Seaborn
2013/06/21 13:53:26
Better to use OS_LINUX here too
|
| + FILE_NACL_HELPER = PATH_START, // Full path to Linux nacl_helper executable. |
| + FILE_NACL_HELPER_BOOTSTRAP, // ... and nacl_helper_bootstrap executable. |
| +#endif |
| + |
| + PATH_END |
| +}; |
| + |
| +// Call once to register the provider for the path keys defined above. |
| +void RegisterPathProvider(); |
| + |
| +} // namespace nacl |
| + |
| +#endif // CHROME_COMMON_NACL_PATHS_H_ |