Chromium Code Reviews| Index: Source/core/fileapi/File.h |
| diff --git a/Source/core/fileapi/File.h b/Source/core/fileapi/File.h |
| index 1c3bc1b7558ece32b23781cc66dcf21c0798c528..0bc03ab7539e222e3d9b403043067679139b2ac6 100644 |
| --- a/Source/core/fileapi/File.h |
| +++ b/Source/core/fileapi/File.h |
| @@ -62,6 +62,10 @@ public: |
| { |
| return adoptRefWillBeNoop(new File(path, name, relativePath, hasSnaphotData, size, lastModified, blobDataHandle)); |
| } |
| + static PassRefPtr<File> create(const String& path, const String& name, PassRefPtr<BlobDataHandle> blobDataHandle, double lastModified, long long size) |
|
jsbell
2014/04/03 18:16:33
The previous create() has size as uint64_t instead
ericu
2014/04/07 23:14:20
Good point; done.
|
| + { |
| + return adoptRef(new File(path, name, String(), true, size, lastModified, blobDataHandle)); |
| + } |
| static PassRefPtrWillBeRawPtr<File> createWithRelativePath(const String& path, const String& relativePath); |