Index: WebCore/fileapi/File.h |
=================================================================== |
--- WebCore/fileapi/File.h (revision 140218) |
+++ WebCore/fileapi/File.h (working copy) |
@@ -51,10 +51,14 @@ |
} |
// For deserialization. |
- static PassRefPtr<File> create(const String& path, const KURL& srcURL, const String& type) |
+ static PassRefPtr<File> create(const String& path, const String& uuid, const String& type) |
{ |
- return adoptRef(new File(path, srcURL, type)); |
+ return adoptRef(new File(path, uuid, type)); |
} |
+ static PassRefPtr<File> create(const String& path, PassRefPtr<BlobDataHandle> blobDataHandle) |
+ { |
+ return adoptRef(new File(path, blobDataHandle)); |
+ } |
#if ENABLE(DIRECTORY_UPLOAD) |
static PassRefPtr<File> createWithRelativePath(const String& path, const String& relativePath); |
@@ -106,8 +110,9 @@ |
File(const String& path, ContentTypeLookupPolicy); |
// For deserialization. |
- File(const String& path, const KURL& srcURL, const String& type); |
+ File(const String& path, const String& uuid, const String& type); |
File(const String& path, const String& name, ContentTypeLookupPolicy); |
+ File(const String& path, PassRefPtr<BlobDataHandle>); |
# if ENABLE(FILE_SYSTEM) |
File(const String& name, const FileMetadata&); |