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

Unified Diff: base/path_service.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 | « base/nix/mime_util_xdg.cc ('k') | base/path_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/path_service.cc
diff --git a/base/path_service.cc b/base/path_service.cc
index 5cfb1ef455809cad4c2ad380f125c730bc80bf99..89e58b2cdb1526169cd1e650c24dc35ccd9fb3a5 100644
--- a/base/path_service.cc
+++ b/base/path_service.cc
@@ -253,7 +253,7 @@ bool PathService::OverrideAndCreateIfNeeded(int key,
// Make sure the directory exists. We need to do this before we translate
// this to the absolute path because on POSIX, MakeAbsoluteFilePath fails
// if called on a non-existent path.
- if (!file_util::PathExists(file_path) &&
+ if (!base::PathExists(file_path) &&
!file_util::CreateDirectory(file_path))
return false;
}
« no previous file with comments | « base/nix/mime_util_xdg.cc ('k') | base/path_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698