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

Unified Diff: chrome/installer/util/install_util.cc

Issue 18286004: Move PathExists to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/installer/util/eula_util.cc ('k') | chrome/installer/util/installer_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/install_util.cc
diff --git a/chrome/installer/util/install_util.cc b/chrome/installer/util/install_util.cc
index 07a2b0cba474b679eb1e53e018a394426913d957..424acefcbc6ba0a86f9a195f09abb66a7b682d15 100644
--- a/chrome/installer/util/install_util.cc
+++ b/chrome/installer/util/install_util.cc
@@ -385,11 +385,11 @@ bool InstallUtil::GetSentinelFilePath(const base::FilePath::CharType* file,
if (IsPerUserInstall(exe_path.value().c_str())) {
const base::FilePath maybe_product_dir(exe_path.DirName().DirName());
- if (file_util::PathExists(exe_path.Append(installer::kChromeExe))) {
+ if (base::PathExists(exe_path.Append(installer::kChromeExe))) {
// DIR_EXE is most likely Chrome's directory in which case |exe_path| is
// the user-level sentinel path.
*path = exe_path;
- } else if (file_util::PathExists(
+ } else if (base::PathExists(
maybe_product_dir.Append(installer::kChromeExe))) {
// DIR_EXE can also be the Installer directory if this is called from a
// setup.exe running from Application\<version>\Installer (see
« no previous file with comments | « chrome/installer/util/eula_util.cc ('k') | chrome/installer/util/installer_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698