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

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

Issue 2448353002: [BlobAsync] Moving async handling into BlobStorageContext & quota out. (Closed)
Patch Set: comments & windows/chromeos compile 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
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() {

Powered by Google App Engine
This is Rietveld 408576698