nacl_paths.h 888 B

12345678910111213141516171819202122232425262728293031
  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
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_NACL_COMMON_NACL_PATHS_H_
  5. #define COMPONENTS_NACL_COMMON_NACL_PATHS_H_
  6. #include "build/build_config.h"
  7. // This file declares path keys for the chrome module. These can be used with
  8. // the PathService to access various special directories and files.
  9. namespace nacl {
  10. enum {
  11. PATH_START = 9000,
  12. #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
  13. FILE_NACL_HELPER = PATH_START, // Full path to Linux nacl_helper executable.
  14. FILE_NACL_HELPER_BOOTSTRAP, // ... and nacl_helper_bootstrap executable.
  15. #endif
  16. PATH_END
  17. };
  18. // Call once to register the provider for the path keys defined above.
  19. void RegisterPathProvider();
  20. } // namespace nacl
  21. #endif // COMPONENTS_NACL_COMMON_NACL_PATHS_H_