| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #include "chrome/common/nacl_paths.h" | 5 #include "components/nacl/common/nacl_paths.h" |
| 6 | 6 |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/path_service.h" | 8 #include "base/path_service.h" |
| 9 | 9 |
| 10 namespace { | 10 namespace { |
| 11 | 11 |
| 12 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 12 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 13 // File name of the nacl_helper and nacl_helper_bootstrap, Linux only. | 13 // File name of the nacl_helper and nacl_helper_bootstrap, Linux only. |
| 14 const base::FilePath::CharType kInternalNaClHelperFileName[] = | 14 const base::FilePath::CharType kInternalNaClHelperFileName[] = |
| 15 FILE_PATH_LITERAL("nacl_helper"); | 15 FILE_PATH_LITERAL("nacl_helper"); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 43 *result = cur; | 43 *result = cur; |
| 44 return true; | 44 return true; |
| 45 } | 45 } |
| 46 | 46 |
| 47 // This cannot be done as a static initializer sadly since Visual Studio will | 47 // This cannot be done as a static initializer sadly since Visual Studio will |
| 48 // eliminate this object file if there is no direct entry point into it. | 48 // eliminate this object file if there is no direct entry point into it. |
| 49 void RegisterPathProvider() { | 49 void RegisterPathProvider() { |
| 50 PathService::RegisterProvider(PathProvider, PATH_START, PATH_END); | 50 PathService::RegisterProvider(PathProvider, PATH_START, PATH_END); |
| 51 } | 51 } |
| 52 | 52 |
| 53 } // namespace nacl | 53 } // namespace chrome |
| OLD | NEW |