Index: Source/core/fileapi/Blob.h |
diff --git a/Source/core/fileapi/Blob.h b/Source/core/fileapi/Blob.h |
index 58006c82e821b2204db82953d921a5b3379ecb71..511e610e5ba90f138fb40584aa2949fa70f0f368 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. |
+ virtual bool isOnFilesystem() 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; |