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

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

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 years, 4 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 | « webkit/browser/fileapi/dragged_file_util.cc ('k') | webkit/browser/fileapi/external_mount_points.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b7d3b13df104efd8dac209793898c80ba3e2d32f..a70f429a303e8af24812e2a6577e4285c535e68e 100644
--- a/webkit/browser/fileapi/dump_file_system.cc
+++ b/webkit/browser/fileapi/dump_file_system.cc
@@ -63,7 +63,7 @@ void ShowUsageAndExit(const std::string& arg0) {
} // namespace
-namespace fileapi {
+namespace storage {
static void DumpDirectoryTree(const std::string& origin_name,
base::FilePath origin_dir) {
@@ -158,7 +158,7 @@ static void DumpFileSystem(const base::FilePath& file_system_dir) {
}
}
-} // namespace fileapi
+} // namespace storage
int main(int argc, char* argv[]) {
const char* arg0 = argv[0];
@@ -187,17 +187,17 @@ int main(int argc, char* argv[]) {
if (argc < 2)
ShowUsageAndExit(arg0);
- const base::FilePath file_system_dir = fileapi::StringToFilePath(argv[1]);
+ const base::FilePath file_system_dir = storage::StringToFilePath(argv[1]);
if (!base::DirectoryExists(file_system_dir)) {
- ShowMessageAndExit(fileapi::FilePathToString(file_system_dir) +
+ ShowMessageAndExit(storage::FilePathToString(file_system_dir) +
" is not a filesystem directory");
}
if (argc == 2) {
- fileapi::DumpFileSystem(file_system_dir);
+ storage::DumpFileSystem(file_system_dir);
} else {
for (int i = 2; i < argc; i++) {
- fileapi::DumpOrigin(file_system_dir, argv[i]);
+ storage::DumpOrigin(file_system_dir, argv[i]);
}
}
return 0;
« no previous file with comments | « webkit/browser/fileapi/dragged_file_util.cc ('k') | webkit/browser/fileapi/external_mount_points.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698