diff options
Diffstat (limited to 'WebCore/fileapi/FileEntry.cpp')
-rw-r--r-- | WebCore/fileapi/FileEntry.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/WebCore/fileapi/FileEntry.cpp b/WebCore/fileapi/FileEntry.cpp index 2d1e623..29cbd33 100644 --- a/WebCore/fileapi/FileEntry.cpp +++ b/WebCore/fileapi/FileEntry.cpp @@ -33,25 +33,27 @@ #if ENABLE(FILE_SYSTEM) +#include "DOMFileSystem.h" #include "ErrorCallback.h" +#include "File.h" #include "FileCallback.h" #include "FileWriterCallback.h" namespace WebCore { -FileEntry::FileEntry(DOMFileSystem* fileSystem, const String& fullPath) +FileEntry::FileEntry(DOMFileSystemBase* fileSystem, const String& fullPath) : Entry(fileSystem, fullPath) { } -void FileEntry::createWriter(PassRefPtr<FileWriterCallback>, PassRefPtr<ErrorCallback>) +void FileEntry::createWriter(PassRefPtr<FileWriterCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) { - // FIXME: to be implemented. + filesystem()->createWriter(this, successCallback, errorCallback); } -void FileEntry::file(PassRefPtr<FileCallback>, PassRefPtr<ErrorCallback>) +void FileEntry::file(PassRefPtr<FileCallback> successCallback, PassRefPtr<ErrorCallback> errorCallback) { - // FIXME: to be implemented. + filesystem()->createFile(this, successCallback, errorCallback); } } // namespace |