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

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

Issue 1528233004: [Blob] Blob paging to disk patch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blob-disk1
Patch Set: Created 5 years 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 40aaf9c7e10d29d40acbc73798f67f6c16030b4d..a0dd9b4a7f0ec877fe6ab3040c8fa4c4571d4267 100644
--- a/storage/browser/blob/shareable_blob_data_item.cc
+++ b/storage/browser/blob/shareable_blob_data_item.cc
@@ -10,8 +10,9 @@ namespace storage {
ShareableBlobDataItem::ShareableBlobDataItem(
const std::string& blob_uuid,
+ uint64_t item_id,
const scoped_refptr<BlobDataItem>& item)
- : item_(item) {
+ : item_(item), item_id_(item_id) {
DCHECK_NE(item_->type(), DataElement::TYPE_BLOB);
referencing_blobs_.insert(blob_uuid);
}
« no previous file with comments | « storage/browser/blob/shareable_blob_data_item.h ('k') | storage/common/blob_storage/blob_item_bytes_response.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698