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

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

Issue 23992003: blob hacking webcore style (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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 | « Source/core/fileapi/BlobURL.cpp ('k') | Source/core/fileapi/File.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fileapi/File.h
diff --git a/Source/core/fileapi/File.h b/Source/core/fileapi/File.h
index 063315daf860af6d877faf3681fccf9e27fcb30b..c6d8db4b4f420d2c124fa3c414076d924af7ab08 100644
--- a/Source/core/fileapi/File.h
+++ b/Source/core/fileapi/File.h
@@ -50,9 +50,9 @@ public:
}
// For deserialization.
- static PassRefPtr<File> create(const String& path, const KURL& srcURL, const String& type)
+ static PassRefPtr<File> create(const String& path, PassRefPtr<BlobDataHandle> blobDataHandle)
{
- return adoptRef(new File(path, srcURL, type));
+ return adoptRef(new File(path, blobDataHandle));
}
static PassRefPtr<File> createWithRelativePath(const String& path, const String& relativePath);
@@ -97,10 +97,8 @@ public:
private:
File(const String& path, ContentTypeLookupPolicy);
-
- // For deserialization.
- File(const String& path, const KURL& srcURL, const String& type);
File(const String& path, const String& name, ContentTypeLookupPolicy);
+ File(const String& path, PassRefPtr<BlobDataHandle>);
File(const String& name, const FileMetadata&);
File(const KURL& fileSystemURL, const FileMetadata&);
« no previous file with comments | « Source/core/fileapi/BlobURL.cpp ('k') | Source/core/fileapi/File.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698