Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: chrome/installer/util/module_util_win.h

Issue 1402353011: Expose a function to get the path to a DLL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/installer/util/BUILD.gn ('k') | chrome/installer/util/module_util_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
13 namespace installer {
14
15 // Returns the full path to a module named |module_name|, or an empty path if
grt (UTC plus 2) 2015/10/30 15:45:59 this comment isn't quite right. an empty path is r
fdoray 2015/10/30 17:22:15 Done.
16 // the module is not found. The searched module must be in the same directory as
17 // the current executable, or in a version subdirectory. On output, if the
18 // module is in a version subdirectory, |version| is populated with the version
19 // of the module.
20 base::FilePath GetModulePath(const base::char16* module_name,
grt (UTC plus 2) 2015/10/30 15:45:59 nit: pass module_name by const-ref
grt (UTC plus 2) 2015/10/30 15:57:58 oops, that doesn't make sense (i read it as string
fdoray 2015/10/30 17:22:15 Done.
21 base::string16* version);
22
23 } // namespace installer
24
25 #endif // CHROME_INSTALLER_UTIL_MODULE_UTIL_WIN_H_
OLDNEW
« no previous file with comments | « chrome/installer/util/BUILD.gn ('k') | chrome/installer/util/module_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698