Chromium Code Reviews| Index: Source/core/fileapi/File.h |
| diff --git a/Source/core/fileapi/File.h b/Source/core/fileapi/File.h |
| index 68ed9ce5325f9d38f16823c846c0992985982b2a..7862903868ebdd1aab078db3aa61e60cd7cc1470 100644 |
| --- a/Source/core/fileapi/File.h |
| +++ b/Source/core/fileapi/File.h |
| @@ -68,6 +68,8 @@ public: |
| return new File(name, modificationTime, blobDataHandle); |
| } |
| + static File* create(char* encodedImage, size_t, const String& mimeType); |
|
Justin Novosad
2015/08/20 20:38:43
Keep this generic: encodedImage -> data
Though we
xlai (Olivia)
2015/08/20 21:36:29
Hi Justin, if I give a name to the parameter with
|
| + |
| // 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) |
| { |