Index: Source/core/fileapi/File.h |
diff --git a/Source/core/fileapi/File.h b/Source/core/fileapi/File.h |
index 68ed9ce5325f9d38f16823c846c0992985982b2a..5b2cba65cfc3baf43a989fe134e1e19570338037 100644 |
--- a/Source/core/fileapi/File.h |
+++ b/Source/core/fileapi/File.h |
@@ -31,6 +31,7 @@ |
#include "core/fileapi/Blob.h" |
#include "platform/heap/Handle.h" |
#include "wtf/PassRefPtr.h" |
+#include "wtf/Vector.h" |
#include "wtf/text/WTFString.h" |
namespace blink { |
@@ -67,6 +68,8 @@ public: |
{ |
return new File(name, modificationTime, blobDataHandle); |
} |
+ |
+ static File* create(Vector<char>* encodedImage, const String& mimeType); |
Justin Novosad
2015/08/13 21:03:40
You don't need to add a dependency on Vector here.
xlai (Olivia)
2015/08/20 19:46:44
Done.
|
// For deserialization. |
static File* createFromSerialization(const String& path, const String& name, const String& relativePath, UserVisibility userVisibility, bool hasSnaphotData, uint64_t size, double lastModified, PassRefPtr<BlobDataHandle> blobDataHandle) |