Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(958)

Unified Diff: Source/core/fileapi/File.h

Issue 1257253004: [HTMLCanvasElement.toBlob] Default callback version without scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modifications based on feedback from Patch Set 3 including Layout Tests and Rebaseline of Mac and Win Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
{

Powered by Google App Engine
This is Rietveld 408576698