#include <utility>
#include "base/functional/callback.h"
#include "base/metrics/histogram.h"
#include "storage/browser/blob/blob_data_handle.h"
#include "storage/browser/blob/blob_data_item.h"
#include "storage/browser/blob/blob_entry.h"
#include "storage/browser/blob/shareable_blob_data_item.h"
namespace storage {
BlobEntry::ItemCopyEntry::ItemCopyEntry(
scoped_refptr<ShareableBlobDataItem> source_item,
size_t source_item_offset,
scoped_refptr<ShareableBlobDataItem> dest_item)
: … { … }
BlobEntry::ItemCopyEntry::ItemCopyEntry(ItemCopyEntry&& other) = default;
BlobEntry::ItemCopyEntry& BlobEntry::ItemCopyEntry::operator=(
BlobEntry::ItemCopyEntry&& rhs) = default;
BlobEntry::ItemCopyEntry::~ItemCopyEntry() = default;
BlobEntry::BuildingState::BuildingState(
bool transport_items_present,
TransportAllowedCallback transport_allowed_callback,
size_t num_building_dependent_blobs)
: … { … }
BlobEntry::BuildingState::~BuildingState() { … }
void BlobEntry::BuildingState::CancelRequestsAndAbort() { … }
BlobEntry::BlobEntry(const std::string& content_type,
const std::string& content_disposition)
: … { … }
BlobEntry::~BlobEntry() = default;
void BlobEntry::AppendSharedBlobItem(
scoped_refptr<ShareableBlobDataItem> item) { … }
void BlobEntry::SetSharedBlobItems(
std::vector<scoped_refptr<ShareableBlobDataItem>> items) { … }
const std::vector<scoped_refptr<ShareableBlobDataItem>>& BlobEntry::items()
const { … }
void BlobEntry::ClearItems() { … }
void BlobEntry::ClearOffsets() { … }
}