Chromium Code Reviews| 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/string16.h" | |
| 12 #include "base/strings/string_piece.h" | |
| 13 | |
| 14 namespace installer { | |
| 15 | |
| 16 // Returns the full path to a module named |module_name|, or an empty path if | |
|
grt (UTC plus 2)
2015/10/30 19:33:14
this is hard to document. :-) what do you think of
fdoray
2015/10/30 21:12:49
Done.
| |
| 17 // the desired module is not in the directory of the current executable and | |
| 18 // there is not version resource in the current module. On output, if the | |
| 19 // desired module is not in the directory of the current executable, |version| | |
| 20 // is populated with the version resource of the current module (if any). | |
| 21 base::FilePath GetModulePath(const base::StringPiece16& module_name, | |
| 22 base::string16* version); | |
| 23 | |
| 24 } // namespace installer | |
| 25 | |
| 26 #endif // CHROME_INSTALLER_UTIL_MODULE_UTIL_WIN_H_ | |
| OLD | NEW |