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

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

Issue 223123002: Add blob serialization support [currently unused] to SerializedScriptValue. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: build fix Created 6 years, 9 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 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);

Powered by Google App Engine
This is Rietveld 408576698