diff options
Diffstat (limited to 'WebCore/platform/BlobItem.h')
-rw-r--r-- | WebCore/platform/BlobItem.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/WebCore/platform/BlobItem.h b/WebCore/platform/BlobItem.h index 3741f3f..42ece92 100644 --- a/WebCore/platform/BlobItem.h +++ b/WebCore/platform/BlobItem.h @@ -70,13 +70,13 @@ public: virtual const StringBlobItem* toStringBlobItem() const { return 0; } virtual const ByteArrayBlobItem* toByteArrayBlobItem() const { return 0; } virtual const FileBlobItem* toFileBlobItem() const { return 0; } -#if ENABLE(BLOB_SLICE) +#if ENABLE(BLOB) virtual const DataRangeBlobItem* toDataRangeBlobItem() const { return 0; } virtual const FileRangeBlobItem* toFileRangeBlobItem() const { return 0; } // Note: no external methods except for Blob::slice should call this. virtual PassRefPtr<BlobItem> slice(long long start, long long length) = 0; -#endif // ENABLE(BLOB_SLICE) +#endif // ENABLE(BLOB) protected: BlobItem() { } @@ -90,9 +90,9 @@ public: // BlobItem methods. virtual const DataBlobItem* toDataBlobItem() const { return this; } -#if ENABLE(BLOB_SLICE) +#if ENABLE(BLOB) virtual PassRefPtr<BlobItem> slice(long long start, long long length); -#endif // ENABLE(BLOB_SLICE) +#endif // ENABLE(BLOB) }; class FileBlobItem : public BlobItem { @@ -110,9 +110,9 @@ public: // BlobItem methods. virtual unsigned long long size() const; virtual const FileBlobItem* toFileBlobItem() const { return this; } -#if ENABLE(BLOB_SLICE) +#if ENABLE(BLOB) virtual PassRefPtr<BlobItem> slice(long long start, long long length); -#endif // ENABLE(BLOB_SLICE) +#endif // ENABLE(BLOB) protected: FileBlobItem(const String& path); @@ -159,7 +159,7 @@ private: Vector<char> m_bytesArray; }; -#if ENABLE(BLOB_SLICE) +#if ENABLE(BLOB) // BlobItem class for sliced data (string or bytes-array). class DataRangeBlobItem : public DataBlobItem { @@ -202,7 +202,7 @@ private: double m_snapshotModificationTime; }; -#endif // ENABLE(BLOB_SLICE) +#endif // ENABLE(BLOB) } // namespace WebCore |