Index: Source/modules/filesystem/DOMFileSystemBase.h |
diff --git a/Source/modules/filesystem/DOMFileSystemBase.h b/Source/modules/filesystem/DOMFileSystemBase.h |
index abe2e55aa363dd01c4967402453addabc64ef427..f488837a3687f1001d9b56d8ff03c61e5caf736d 100644 |
--- a/Source/modules/filesystem/DOMFileSystemBase.h |
+++ b/Source/modules/filesystem/DOMFileSystemBase.h |
@@ -49,7 +49,9 @@ class EntriesCallback; |
class EntryBase; |
class EntryCallback; |
class ErrorCallback; |
+class File; |
class FileError; |
+struct FileMetadata; |
class MetadataCallback; |
class ExecutionContext; |
class SecurityOrigin; |
@@ -101,6 +103,7 @@ public: |
KURL createFileSystemURL(const String& fullPath) const; |
static bool pathToAbsolutePath(FileSystemType, const EntryBase*, String path, String& absolutePath); |
static bool pathPrefixToFileSystemType(const String& pathPrefix, FileSystemType&); |
+ static PassRefPtrWillBeRawPtr<File> createFile(const FileMetadata&, const KURL& fileSystemURL, FileSystemType, const String name); |
// Actual FileSystem API implementations. All the validity checks on virtual paths are done at this level. |
void getMetadata(const EntryBase*, PassOwnPtrWillBeRawPtr<MetadataCallback>, PassOwnPtrWillBeRawPtr<ErrorCallback>, SynchronousType = Asynchronous); |