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

Unified Diff: webkit/browser/fileapi/dump_file_system.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the 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
Index: webkit/browser/fileapi/dump_file_system.cc
diff --git a/webkit/browser/fileapi/dump_file_system.cc b/webkit/browser/fileapi/dump_file_system.cc
index 1c165d7934139e0b057aef211ee0eafb3b687f7b..4dd60f26b3679b2970261e6ae60ee6b208c5823c 100644
--- a/webkit/browser/fileapi/dump_file_system.cc
+++ b/webkit/browser/fileapi/dump_file_system.cc
@@ -73,7 +73,7 @@ static void DumpDirectoryTree(const std::string& origin_name,
printf("=== ORIGIN %s %s ===\n",
origin_name.c_str(), FilePathToString(origin_dir).c_str());
- if (!file_util::DirectoryExists(origin_dir))
+ if (!base::DirectoryExists(origin_dir))
return;
SandboxDirectoryDatabase directory_db(origin_dir);
@@ -189,7 +189,7 @@ int main(int argc, char* argv[]) {
ShowUsageAndExit(arg0);
const base::FilePath file_system_dir = fileapi::StringToFilePath(argv[1]);
- if (!file_util::DirectoryExists(file_system_dir)) {
+ if (!base::DirectoryExists(file_system_dir)) {
ShowMessageAndExit(fileapi::FilePathToString(file_system_dir) +
" is not a filesystem directory");
}
« no previous file with comments | « webkit/browser/dom_storage/dom_storage_database.cc ('k') | webkit/browser/fileapi/local_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698