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

Unified Diff: chrome/installer/util/installer_state.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/install_util.cc ('k') | chrome/installer/util/installer_state_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/installer_state.cc
diff --git a/chrome/installer/util/installer_state.cc b/chrome/installer/util/installer_state.cc
index 5fd81bc9f68e6687bb111a9ff02313c5236e3e8a..ad8c0539394af4516d15cb796467cde08aa20af3 100644
--- a/chrome/installer/util/installer_state.cc
+++ b/chrome/installer/util/installer_state.cc
@@ -552,7 +552,7 @@ Version* InstallerState::GetCurrentVersion(
// Be aware that there might be a pending "new_chrome.exe" already in the
// installation path. If so, we use old_version, which holds the version of
// "chrome.exe" itself.
- if (file_util::PathExists(target_path().Append(kChromeNewExe)))
+ if (base::PathExists(target_path().Append(kChromeNewExe)))
version = product_state->old_version();
if (version == NULL)
@@ -590,7 +590,7 @@ bool InstallerState::IsChromeFrameRunning(
base::FilePath cf_install_path(
target_path().AppendASCII(current_version->GetString())
.Append(kChromeFrameDll));
- in_use = file_util::PathExists(cf_install_path) &&
+ in_use = base::PathExists(cf_install_path) &&
IsFileInUse(cf_install_path);
}
return in_use;
« no previous file with comments | « chrome/installer/util/install_util.cc ('k') | chrome/installer/util/installer_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698