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

Unified Diff: chrome/installer/setup/setup_main.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/setup/install_worker.cc ('k') | chrome/installer/setup/setup_util_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/setup/setup_main.cc
diff --git a/chrome/installer/setup/setup_main.cc b/chrome/installer/setup/setup_main.cc
index 7259c4d3dc18ab99088b37ea49e5076a8c74eb4a..36eb4913289842da62b5362f4c0a3c163ce45fdc 100644
--- a/chrome/installer/setup/setup_main.cc
+++ b/chrome/installer/setup/setup_main.cc
@@ -121,7 +121,7 @@ DWORD UnPackArchive(const base::FilePath& archive,
// Check if this is differential update and if it is, patch it to the
// installer archive that should already be on the machine. We assume
// it is a differential installer if chrome.7z is not found.
- if (!file_util::PathExists(uncompressed_archive)) {
+ if (!base::PathExists(uncompressed_archive)) {
*archive_type = installer::INCREMENTAL_ARCHIVE_TYPE;
VLOG(1) << "Differential patch found. Applying to existing archive.";
if (!archive_version.get()) {
@@ -683,7 +683,7 @@ installer::InstallStatus InstallProductsHelper(
// We want to keep uncompressed archive (chrome.7z) that we get after
// uncompressing and binary patching. Get the location for this file.
base::FilePath archive_to_copy;
- if (file_util::PathExists(archive)) {
+ if (base::PathExists(archive)) {
VLOG(1) << "Archive found to install Chrome " << archive.value();
if (UnPackArchive(archive, installer_state, temp_path.path(), unpack_path,
archive_type)) {
@@ -701,7 +701,7 @@ installer::InstallStatus InstallProductsHelper(
base::FilePath uncompressed_archive(cmd_line.GetProgram().DirName().Append(
installer::kChromeArchive));
- if (file_util::PathExists(uncompressed_archive)) {
+ if (base::PathExists(uncompressed_archive)) {
VLOG(1) << "Uncompressed archive found to install Chrome "
<< uncompressed_archive.value();
*archive_type = installer::FULL_ARCHIVE_TYPE;
@@ -1057,7 +1057,7 @@ installer::InstallStatus UninstallProducts(
base::FilePath first_run_sentinel;
InstallUtil::GetSentinelFilePath(
chrome::kFirstRunSentinel, dist, &first_run_sentinel);
- if (file_util::PathExists(first_run_sentinel)) {
+ if (base::PathExists(first_run_sentinel)) {
// If the Chrome being self-destructed has already undergone First Run,
// trigger Active Setup and make sure the system-level Chrome doesn't go
// through first run.
@@ -1204,7 +1204,7 @@ installer::InstallStatus RegisterDevChrome(
chrome_exe = base::MakeAbsoluteFilePath(chrome_exe);
installer::InstallStatus status = installer::FIRST_INSTALL_SUCCESS;
- if (file_util::PathExists(chrome_exe)) {
+ if (base::PathExists(chrome_exe)) {
Product chrome(chrome_dist);
// Create the Start menu shortcut and pin it to the taskbar.
« no previous file with comments | « chrome/installer/setup/install_worker.cc ('k') | chrome/installer/setup/setup_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698