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

Unified Diff: chrome/installer/util/self_cleaning_temp_dir.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/move_tree_work_item_unittest.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/installer/util/self_cleaning_temp_dir.cc
diff --git a/chrome/installer/util/self_cleaning_temp_dir.cc b/chrome/installer/util/self_cleaning_temp_dir.cc
index bb2fd6c6f992036ef2aab00266eaa06befd6f6aa..8b859261acb31a6be299d765b8fd51465fb58ae2 100644
--- a/chrome/installer/util/self_cleaning_temp_dir.cc
+++ b/chrome/installer/util/self_cleaning_temp_dir.cc
@@ -21,7 +21,7 @@ void SelfCleaningTempDir::GetTopDirToCreate(
base::FilePath* base_dir) {
DCHECK(base_dir);
- if (file_util::PathExists(temp_parent_dir)) {
+ if (base::PathExists(temp_parent_dir)) {
// Empty base_dir means that we didn't create any extra directories.
base_dir->clear();
} else {
@@ -29,7 +29,7 @@ void SelfCleaningTempDir::GetTopDirToCreate(
do {
*base_dir = parent_dir;
parent_dir = parent_dir.DirName();
- } while (parent_dir != *base_dir && !file_util::PathExists(parent_dir));
+ } while (parent_dir != *base_dir && !base::PathExists(parent_dir));
LOG_IF(WARNING, !file_util::DirectoryExists(parent_dir))
<< "A non-directory is at the base of the path leading to a desired "
"temp directory location: " << parent_dir.value();
« no previous file with comments | « chrome/installer/util/move_tree_work_item_unittest.cc ('k') | chrome/installer/util/shell_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698