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

Unified Diff: base/files/file_util_proxy.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/files/file_path_watcher_linux.cc ('k') | base/files/file_util_proxy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_util_proxy.cc
diff --git a/base/files/file_util_proxy.cc b/base/files/file_util_proxy.cc
index 9f65da8ec98d40b05631de605302334056a9163a..5eb9fe51b4382540021c9a8fd29d68b671224ab0 100644
--- a/base/files/file_util_proxy.cc
+++ b/base/files/file_util_proxy.cc
@@ -107,7 +107,7 @@ class GetFileInfoHelper {
: error_(PLATFORM_FILE_OK) {}
void RunWorkForFilePath(const FilePath& file_path) {
- if (!file_util::PathExists(file_path)) {
+ if (!PathExists(file_path)) {
error_ = PLATFORM_FILE_ERROR_NOT_FOUND;
return;
}
@@ -210,7 +210,7 @@ PlatformFileError CloseAdapter(PlatformFile file_handle) {
}
PlatformFileError DeleteAdapter(const FilePath& file_path, bool recursive) {
- if (!file_util::PathExists(file_path)) {
+ if (!PathExists(file_path)) {
return PLATFORM_FILE_ERROR_NOT_FOUND;
}
if (!base::Delete(file_path, recursive)) {
« no previous file with comments | « base/files/file_path_watcher_linux.cc ('k') | base/files/file_util_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698