Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2562)

Unified Diff: storage/browser/blob/shareable_blob_data_item.cc

Issue 2055053003: [BlobAsync] Disk support for blob storage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « storage/browser/blob/shareable_blob_data_item.h ('k') | storage/browser/blob/view_blob_internals_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/blob/shareable_blob_data_item.cc
diff --git a/storage/browser/blob/shareable_blob_data_item.cc b/storage/browser/blob/shareable_blob_data_item.cc
index d085e5a705b8ab79540786c35ea26a71ce38dc6c..d1433d1b164516eabd900c12ce16f1b10e11ee39 100644
--- a/storage/browser/blob/shareable_blob_data_item.cc
+++ b/storage/browser/blob/shareable_blob_data_item.cc
@@ -17,12 +17,10 @@ uint64_t GetAndIncrementItemId() {
} // namespace
ShareableBlobDataItem::ShareableBlobDataItem(
- const std::string& referencing_blob_uuid,
scoped_refptr<BlobDataItem> item,
ShareableBlobDataItem::State state)
: item_id_(GetAndIncrementItemId()), state_(state), item_(std::move(item)) {
DCHECK_NE(item_->type(), DataElement::TYPE_BLOB);
- referencing_blobs_.insert(referencing_blob_uuid);
}
ShareableBlobDataItem::~ShareableBlobDataItem() {
« no previous file with comments | « storage/browser/blob/shareable_blob_data_item.h ('k') | storage/browser/blob/view_blob_internals_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698