summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_test_helper.h
diff options
context:
space:
mode:
authorkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-14 08:40:37 +0000
committerkinaba@chromium.org <kinaba@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-14 08:40:37 +0000
commit81f8a3dcc67e8c9c945e2f5d5c2b7a8259c8ce84 (patch)
treecbd86448940129bde40572347f6ecbf84e1210d2 /webkit/fileapi/file_system_test_helper.h
parent344379840390fb5daee004db5dc91949f593cbe2 (diff)
downloadchromium_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/file_system_test_helper.h')
-rw-r--r--webkit/fileapi/file_system_test_helper.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/webkit/fileapi/file_system_test_helper.h b/webkit/fileapi/file_system_test_helper.h
index e70ae28..10ec99d 100644
--- a/webkit/fileapi/file_system_test_helper.h
+++ b/webkit/fileapi/file_system_test_helper.h
@@ -24,7 +24,6 @@ class FilePath;
namespace fileapi {
-class FileSystemCallbackDispatcher;
class FileSystemContext;
class FileSystemFileUtil;
class FileSystemOperation;
@@ -63,8 +62,7 @@ class FileSystemTestOriginHelper {
// This doesn't work with OFSFU.
int64 ComputeCurrentOriginUsage() const;
- FileSystemOperation* NewOperation(
- FileSystemCallbackDispatcher* callback_dispatcher);
+ FileSystemOperation* NewOperation();
FileSystemOperationContext* NewOperationContext();
FileSystemContext* file_system_context() const {