#include "third_party/blink/public/platform/web_blob_info.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
#include "third_party/blink/public/mojom/blob/blob.mojom-blink.h"
#include "third_party/blink/renderer/platform/blob/blob_data.h"
namespace blink {
WebBlobInfo::WebBlobInfo(const WebString& uuid,
const WebString& type,
uint64_t size,
CrossVariantMojoRemote<mojom::BlobInterfaceBase> blob)
: … { … }
WebBlobInfo::WebBlobInfo(const WebString& uuid,
const WebString& file_name,
const WebString& type,
const std::optional<base::Time>& last_modified,
uint64_t size,
CrossVariantMojoRemote<mojom::BlobInterfaceBase> blob)
: … { … }
WebBlobInfo WebBlobInfo::BlobForTesting(const WebString& uuid,
const WebString& type,
uint64_t size) { … }
WebBlobInfo WebBlobInfo::FileForTesting(const WebString& uuid,
const WebString& file_name,
const WebString& type) { … }
WebBlobInfo::~WebBlobInfo() { … }
WebBlobInfo::WebBlobInfo(const WebBlobInfo& other) { … }
WebBlobInfo& WebBlobInfo::operator=(const WebBlobInfo& other) = default;
CrossVariantMojoRemote<mojom::BlobInterfaceBase> WebBlobInfo::CloneBlobRemote()
const { … }
WebBlobInfo::WebBlobInfo(scoped_refptr<BlobDataHandle> handle)
: … { … }
WebBlobInfo::WebBlobInfo(scoped_refptr<BlobDataHandle> handle,
const WebString& file_name,
const std::optional<base::Time>& last_modified)
: … { … }
WebBlobInfo::WebBlobInfo(scoped_refptr<BlobDataHandle> handle,
const WebString& type,
uint64_t size)
: … { … }
WebBlobInfo::WebBlobInfo(scoped_refptr<BlobDataHandle> handle,
const WebString& file_name,
const WebString& type,
const std::optional<base::Time>& last_modified,
uint64_t size)
: … { … }
scoped_refptr<BlobDataHandle> WebBlobInfo::GetBlobHandle() const { … }
}