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

Unified Diff: chrome/browser/chromeos/drive/file_system_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
Index: chrome/browser/chromeos/drive/file_system_util.cc
diff --git a/chrome/browser/chromeos/drive/file_system_util.cc b/chrome/browser/chromeos/drive/file_system_util.cc
index fc79abcf3d6591c96fa4ac54cbd81bc9329470eb..1907bab18c44df0357b2e0df82a174c43c1e350c 100644
--- a/chrome/browser/chromeos/drive/file_system_util.cc
+++ b/chrome/browser/chromeos/drive/file_system_util.cc
@@ -122,7 +122,7 @@ void MoveAllFilesFromDirectory(const base::FilePath& directory_from,
for (base::FilePath file_from = enumerator.Next(); !file_from.empty();
file_from = enumerator.Next()) {
const base::FilePath file_to = directory_to.Append(file_from.BaseName());
- if (!file_util::PathExists(file_to)) // Do not overwrite existing files.
+ if (!base::PathExists(file_to)) // Do not overwrite existing files.
base::Move(file_from, file_to);
}
}
@@ -315,7 +315,7 @@ void MigrateCacheFilesFromOldDirectories(
cache_root_directory.AppendASCII("persistent");
const base::FilePath tmp_directory =
cache_root_directory.AppendASCII("tmp");
- if (!file_util::PathExists(persistent_directory))
+ if (!base::PathExists(persistent_directory))
return;
const base::FilePath cache_file_directory =

Powered by Google App Engine
This is Rietveld 408576698