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

Unified Diff: ui/base/ui_base_paths.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 | « ui/base/resource/resource_bundle_mac.mm ('k') | ui/gfx/gfx_paths.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_paths.cc
diff --git a/ui/base/ui_base_paths.cc b/ui/base/ui_base_paths.cc
index 98642b4d64e5a8f0baac5f91999621ea0126774b..ae1f3fff26df70b73b0329c2862f3aac0187348d 100644
--- a/ui/base/ui_base_paths.cc
+++ b/ui/base/ui_base_paths.cc
@@ -48,7 +48,7 @@ bool PathProvider(int key, base::FilePath* result) {
cur = cur.Append(FILE_PATH_LITERAL("app"));
cur = cur.Append(FILE_PATH_LITERAL("test"));
cur = cur.Append(FILE_PATH_LITERAL("data"));
- if (!file_util::PathExists(cur)) // we don't want to create this
+ if (!base::PathExists(cur)) // we don't want to create this
return false;
break;
#if defined(OS_ANDROID)
@@ -62,7 +62,7 @@ bool PathProvider(int key, base::FilePath* result) {
return false;
}
- if (create_dir && !file_util::PathExists(cur) &&
+ if (create_dir && !base::PathExists(cur) &&
!file_util::CreateDirectory(cur))
return false;
« no previous file with comments | « ui/base/resource/resource_bundle_mac.mm ('k') | ui/gfx/gfx_paths.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698