Index: Source/core/fileapi/Blob.h |
diff --git a/Source/core/fileapi/Blob.h b/Source/core/fileapi/Blob.h |
index 58006c82e821b2204db82953d921a5b3379ecb71..35ed92f354848eb1443110e0273a7e7f57e3511a 100644 |
--- a/Source/core/fileapi/Blob.h |
+++ b/Source/core/fileapi/Blob.h |
@@ -60,7 +60,10 @@ public: |
String uuid() const { return m_blobDataHandle->uuid(); } |
String type() const { return m_blobDataHandle->type(); } |
virtual unsigned long long size() const { return m_blobDataHandle->size(); } |
+ // True for all File instances, including the user-built ones. |
virtual bool isFile() const { return false; } |
+ // Only true for File instances sourced from the filesystem. |
kinuko
2013/11/14 05:41:06
'Only true for File instances that is backed by a
pwnall-personal
2013/11/14 14:31:19
Done.
|
+ virtual bool hasBackingFile() const { return false; } |
PassRefPtr<BlobDataHandle> blobDataHandle() const { return m_blobDataHandle; } |
PassRefPtr<Blob> slice(long long start = 0, long long end = std::numeric_limits<long long>::max(), const String& contentType = String()) const; |