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

Unified Diff: WebCore/fileapi/File.h

Issue 11192017: ********** WebCore blob hacking (Closed) Base URL: http://svn.webkit.org/repository/webkit/trunk/Source/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « WebCore/fileapi/BlobURL.cpp ('k') | WebCore/fileapi/File.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/fileapi/File.h
===================================================================
--- WebCore/fileapi/File.h (revision 140218)
+++ WebCore/fileapi/File.h (working copy)
@@ -51,10 +51,14 @@
}
// For deserialization.
- static PassRefPtr<File> create(const String& path, const KURL& srcURL, const String& type)
+ static PassRefPtr<File> create(const String& path, const String& uuid, const String& type)
{
- return adoptRef(new File(path, srcURL, type));
+ return adoptRef(new File(path, uuid, type));
}
+ static PassRefPtr<File> create(const String& path, PassRefPtr<BlobDataHandle> blobDataHandle)
+ {
+ return adoptRef(new File(path, blobDataHandle));
+ }
#if ENABLE(DIRECTORY_UPLOAD)
static PassRefPtr<File> createWithRelativePath(const String& path, const String& relativePath);
@@ -106,8 +110,9 @@
File(const String& path, ContentTypeLookupPolicy);
// For deserialization.
- File(const String& path, const KURL& srcURL, const String& type);
+ File(const String& path, const String& uuid, const String& type);
File(const String& path, const String& name, ContentTypeLookupPolicy);
+ File(const String& path, PassRefPtr<BlobDataHandle>);
# if ENABLE(FILE_SYSTEM)
File(const String& name, const FileMetadata&);
« no previous file with comments | « WebCore/fileapi/BlobURL.cpp ('k') | WebCore/fileapi/File.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698