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

Unified Diff: webkit/browser/fileapi/local_file_util.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/local_file_util.h ('k') | webkit/browser/fileapi/mount_points.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/fileapi/local_file_util.cc
diff --git a/webkit/browser/fileapi/local_file_util.cc b/webkit/browser/fileapi/local_file_util.cc
index 3b823aa99f6f2b5a283cccab2ca24bce8a874378..fff13b5ba15b52a7ca960ce49b69ab7bdb3378e8 100644
--- a/webkit/browser/fileapi/local_file_util.cc
+++ b/webkit/browser/fileapi/local_file_util.cc
@@ -16,7 +16,7 @@
#include "webkit/common/fileapi/file_system_types.h"
#include "webkit/common/fileapi/file_system_util.h"
-namespace fileapi {
+namespace storage {
AsyncFileUtil* AsyncFileUtil::CreateForLocalFileSystem() {
return new AsyncFileUtilAdapter(new LocalFileUtil());
@@ -202,8 +202,10 @@ base::File::Error LocalFileUtil::CopyOrMoveFile(
return error;
return NativeFileUtil::CopyOrMoveFile(
- src_file_path, dest_file_path, option,
- fileapi::NativeFileUtil::CopyOrMoveModeForDestination(dest_url, copy));
+ src_file_path,
+ dest_file_path,
+ option,
+ storage::NativeFileUtil::CopyOrMoveModeForDestination(dest_url, copy));
}
base::File::Error LocalFileUtil::CopyInForeignFile(
@@ -219,8 +221,10 @@ base::File::Error LocalFileUtil::CopyInForeignFile(
if (error != base::File::FILE_OK)
return error;
return NativeFileUtil::CopyOrMoveFile(
- src_file_path, dest_file_path, FileSystemOperation::OPTION_NONE,
- fileapi::NativeFileUtil::CopyOrMoveModeForDestination(dest_url,
+ src_file_path,
+ dest_file_path,
+ FileSystemOperation::OPTION_NONE,
+ storage::NativeFileUtil::CopyOrMoveModeForDestination(dest_url,
true /* copy */));
}
@@ -244,7 +248,7 @@ base::File::Error LocalFileUtil::DeleteDirectory(
return NativeFileUtil::DeleteDirectory(file_path);
}
-webkit_blob::ScopedFile LocalFileUtil::CreateSnapshotFile(
+storage::ScopedFile LocalFileUtil::CreateSnapshotFile(
FileSystemOperationContext* context,
const FileSystemURL& url,
base::File::Error* error,
@@ -255,7 +259,7 @@ webkit_blob::ScopedFile LocalFileUtil::CreateSnapshotFile(
*error = GetFileInfo(context, url, file_info, platform_path);
if (*error == base::File::FILE_OK && file_info->is_directory)
*error = base::File::FILE_ERROR_NOT_A_FILE;
- return webkit_blob::ScopedFile();
+ return storage::ScopedFile();
}
-} // namespace fileapi
+} // namespace storage
« no previous file with comments | « webkit/browser/fileapi/local_file_util.h ('k') | webkit/browser/fileapi/mount_points.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698