summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_file_util_proxy.h
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 09:04:16 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-08 09:04:16 +0000
commit01ce105b980dc83da154ca5de76a8e414d80ada1 (patch)
tree4e139e1ab8d0f9386614390d30f8117b3e158fc0 /webkit/fileapi/file_system_file_util_proxy.h
parentc7f6bba878e9564527a628b55f9dcee91654568f (diff)
downloadchromium_src-01ce105b980dc83da154ca5de76a8e414d80ada1.zip
chromium_src-01ce105b980dc83da154ca5de76a8e414d80ada1.tar.gz
chromium_src-01ce105b980dc83da154ca5de76a8e414d80ada1.tar.bz2
Retry: Merge FileUtilProxy and FileSystemFileUtilProxy using PostTaskAndReply: CreateOrOpen/Close
Original reviewed issue: http://codereview.chromium.org/8424006/ BUG=none TEST=test_shell_tests:*FileSystem* Review URL: http://codereview.chromium.org/8499005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108991 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_file_util_proxy.h')
-rw-r--r--webkit/fileapi/file_system_file_util_proxy.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/webkit/fileapi/file_system_file_util_proxy.h b/webkit/fileapi/file_system_file_util_proxy.h
index a3e85e5..b6a9ada 100644
--- a/webkit/fileapi/file_system_file_util_proxy.h
+++ b/webkit/fileapi/file_system_file_util_proxy.h
@@ -36,7 +36,6 @@ class FileSystemFileUtilProxy {
typedef base::FileUtilProxy::Entry Entry;
typedef base::FileUtilProxy::StatusCallback StatusCallback;
- typedef base::FileUtilProxy::CreateOrOpenCallback CreateOrOpenCallback;
typedef base::Callback<void(PlatformFileError,
bool /* created */
)> EnsureFileExistsCallback;
@@ -52,23 +51,6 @@ class FileSystemFileUtilProxy {
const FilePath& /* local_path, where possible */
>::Type GetLocalPathCallback;
- // Creates or opens a file with the given flags. It is invalid to pass NULL
- // for the callback.
- // If PLATFORM_FILE_CREATE is set in |file_flags| it always tries to create
- // a new file at the given |file_path| and calls back with
- // PLATFORM_FILE_ERROR_FILE_EXISTS if the |file_path| already exists.
- static bool CreateOrOpen(const FileSystemOperationContext& context,
- scoped_refptr<MessageLoopProxy> message_loop_proxy,
- const FilePath& file_path,
- int file_flags,
- const CreateOrOpenCallback& callback);
-
- // Close the given file handle.
- static bool Close(const FileSystemOperationContext& context,
- scoped_refptr<MessageLoopProxy> message_loop_proxy,
- PlatformFile,
- const StatusCallback& callback);
-
// Ensures that the given |file_path| exist. This creates a empty new file
// at |file_path| if the |file_path| does not exist.
// If a new file han not existed and is created at the |file_path|,