| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2015 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 | |
| 5 // This file defines a utility function to get the full path of a module. | |
| 6 | |
| 7 #ifndef CHROME_INSTALLER_UTIL_MODULE_UTIL_WIN_H_ | |
| 8 #define CHROME_INSTALLER_UTIL_MODULE_UTIL_WIN_H_ | |
| 9 | |
| 10 #include "base/files/file_path.h" | |
| 11 #include "base/strings/string_piece.h" | |
| 12 | |
| 13 namespace installer { | |
| 14 | |
| 15 // Returns the full path to |module_name|. Both dev builds (where |module_name| | |
| 16 // is in the current executable's directory) and proper installs (where | |
| 17 // |module_name| is in a versioned sub-directory of the current executable's | |
| 18 // directory) are suported. The identified file is not guaranteed to exist. | |
| 19 base::FilePath GetModulePath(base::StringPiece16 module_name); | |
| 20 | |
| 21 } // namespace installer | |
| 22 | |
| 23 #endif // CHROME_INSTALLER_UTIL_MODULE_UTIL_WIN_H_ | |
| OLD | NEW |