Home | History | Annotate | Download | only in fileapi

Lines Matching defs:Blob

47 class Blob : public ScriptWrappable, public URLRegistrable, public RefCounted<Blob> {
49 static PassRefPtr<Blob> create()
51 return adoptRef(new Blob);
54 static PassRefPtr<Blob> create(PassOwnPtr<BlobData> blobData, long long size)
56 return adoptRef(new Blob(blobData, size));
60 static PassRefPtr<Blob> create(const KURL& srcURL, const String& type, long long size)
62 return adoptRef(new Blob(srcURL, type, size));
65 virtual ~Blob();
76 PassRefPtr<Blob> slice(long long start = 0, long long end = std::numeric_limits<long long>::max(), const String& contentType = String()) const;
79 Blob();
80 Blob(PassOwnPtr<BlobData>, long long size);
83 Blob(const KURL& srcURL, const String& type, long long size);
85 // This is an internal URL referring to the blob data associated with this object. It serves
86 // as an identifier for this blob. The internal URL is never used to source the blob's content
87 // into an HTML or for FileRead'ing, public blob URLs must be used for those purposes.