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

Unified Diff: third_party/leveldatabase/env_chromium.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 | « sql/connection_unittest.cc ('k') | third_party/zlib/google/zip_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/leveldatabase/env_chromium.cc
diff --git a/third_party/leveldatabase/env_chromium.cc b/third_party/leveldatabase/env_chromium.cc
index 5efd74dbc4467cf917bb736f7e1b39d321a5bb07..a9efd9932e327204cf99cd244d4ed0425be99fba 100644
--- a/third_party/leveldatabase/env_chromium.cc
+++ b/third_party/leveldatabase/env_chromium.cc
@@ -597,7 +597,7 @@ Status ChromiumEnv::NewWritableFile(const std::string& fname,
}
bool ChromiumEnv::FileExists(const std::string& fname) {
- return ::file_util::PathExists(CreateFilePath(fname));
+ return ::base::PathExists(CreateFilePath(fname));
}
Status ChromiumEnv::GetChildren(const std::string& dir,
@@ -665,7 +665,7 @@ Status ChromiumEnv::GetFileSize(const std::string& fname, uint64_t* size) {
Status ChromiumEnv::RenameFile(const std::string& src, const std::string& dst) {
Status result;
base::FilePath src_file_path = CreateFilePath(src);
- if (!::file_util::PathExists(src_file_path))
+ if (!::base::PathExists(src_file_path))
return result;
base::FilePath destination = CreateFilePath(dst);
« no previous file with comments | « sql/connection_unittest.cc ('k') | third_party/zlib/google/zip_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698