Home | History | Annotate | Download | only in fileapi

Lines Matching defs:Blob

32 #include "core/fileapi/Blob.h"
39 #include "platform/blob/BlobRegistry.h"
40 #include "platform/blob/BlobURL.h"
57 Blob* blob = static_cast<Blob*>(registrableObject);
58 BlobRegistry::registerPublicBlobURL(origin, publicURL, blob->blobDataHandle());
74 Blob::Blob(PassRefPtr<BlobDataHandle> dataHandle)
81 Blob::~Blob()
85 void Blob::clampSliceOffsets(long long size, long long& start, long long& end)
109 PassRefPtrWillBeRawPtr<Blob> Blob::slice(long long start, long long end, const String& contentType, ExceptionState& exceptionState) const
112 exceptionState.throwDOMException(InvalidStateError, "Blob has been closed.");
123 return Blob::create(BlobDataHandle::create(blobData.release(), length));
126 void Blob::close(ExecutionContext* executionContext, ExceptionState& exceptionState)
129 exceptionState.throwDOMException(InvalidStateError, "Blob has been closed.");
133 // Dereferencing a Blob that has been closed should result in
138 // A Blob enters a 'readability state' of closed, where it will report its
139 // size as zero. Blob and FileReader operations now throws on
140 // being passed a Blob in that state. Downstream uses of closed Blobs
148 void Blob::appendTo(BlobData& blobData) const
153 URLRegistry& Blob::registry() const