Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / fileapi / File.h
index 1c3bc1b..4b9dec7 100644 (file)
@@ -27,7 +27,7 @@
 #define File_h
 
 #include "core/fileapi/Blob.h"
-#include "heap/Handle.h"
+#include "platform/heap/Handle.h"
 #include "wtf/PassRefPtr.h"
 #include "wtf/text/WTFString.h"
 
@@ -62,6 +62,10 @@ public:
     {
         return adoptRefWillBeNoop(new File(path, name, relativePath, hasSnaphotData, size, lastModified, blobDataHandle));
     }
+    static PassRefPtrWillBeRawPtr<File> create(const String& path, const String& name, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle)
+    {
+        return adoptRefWillBeNoop(new File(path, name, String(), true, size, lastModified, blobDataHandle));
+    }
 
     static PassRefPtrWillBeRawPtr<File> createWithRelativePath(const String& path, const String& relativePath);