diff options
author | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-14 08:40:37 +0000 |
---|---|---|
committer | kinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-14 08:40:37 +0000 |
commit | 81f8a3dcc67e8c9c945e2f5d5c2b7a8259c8ce84 (patch) | |
tree | cbd86448940129bde40572347f6ecbf84e1210d2 /webkit/fileapi/sandbox_mount_point_provider.cc | |
parent | 344379840390fb5daee004db5dc91949f593cbe2 (diff) | |
download | chromium_src-81f8a3dcc67e8c9c945e2f5d5c2b7a8259c8ce84.zip chromium_src-81f8a3dcc67e8c9c945e2f5d5c2b7a8259c8ce84.tar.gz chromium_src-81f8a3dcc67e8c9c945e2f5d5c2b7a8259c8ce84.tar.bz2 |
Refactor FileSystemOperation to take callback for each method.
(Reland of r121620, which was reverted because it broke chromeos-clang compilation and LayoutTests/fast/filesystem/file-writer-*)
This patch is the first step for supporting cross-filesystem copy/move on
the Filesystem API implementation. To accomplish it, I'm planning to
crack FileSystemOperation::{Move,Copy} to a series of other FSO operations.
For it, per-method callback is more handy.
BUG=110121
TEST=*File*
TEST=LayoutTest fast/filesystem
Review URL: http://codereview.chromium.org/9372044
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121857 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/sandbox_mount_point_provider.cc')
-rw-r--r-- | webkit/fileapi/sandbox_mount_point_provider.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/webkit/fileapi/sandbox_mount_point_provider.cc b/webkit/fileapi/sandbox_mount_point_provider.cc index 1b2dc96..e79624e 100644 --- a/webkit/fileapi/sandbox_mount_point_provider.cc +++ b/webkit/fileapi/sandbox_mount_point_provider.cc @@ -16,7 +16,6 @@ #include "base/metrics/histogram.h" #include "googleurl/src/gurl.h" #include "net/base/net_util.h" -#include "webkit/fileapi/file_system_callback_dispatcher.h" #include "webkit/fileapi/file_system_operation.h" #include "webkit/fileapi/file_system_operation_context.h" #include "webkit/fileapi/file_system_options.h" @@ -416,10 +415,9 @@ SandboxMountPointProvider::CreateFileSystemOperation( const GURL& origin_url, FileSystemType file_system_type, const FilePath& virtual_path, - scoped_ptr<FileSystemCallbackDispatcher> dispatcher, base::MessageLoopProxy* file_proxy, FileSystemContext* context) const { - return new FileSystemOperation(dispatcher.Pass(), file_proxy, context); + return new FileSystemOperation(file_proxy, context); } FilePath SandboxMountPointProvider::old_base_path() const { |