Index: storage/browser/blob/blob_data_item.cc |
diff --git a/storage/browser/blob/blob_data_item.cc b/storage/browser/blob/blob_data_item.cc |
index c1ec3b3db68fadb7930d5cdcb022610cbb924037..33a9ffb2c57e44aaefeb0e53b1a3a1cbe846e8e7 100644 |
--- a/storage/browser/blob/blob_data_item.cc |
+++ b/storage/browser/blob/blob_data_item.cc |
@@ -36,4 +36,12 @@ BlobDataItem::BlobDataItem(scoped_ptr<DataElement> item, |
BlobDataItem::~BlobDataItem() { |
} |
+std::ostream& operator<<(std::ostream& os, const BlobDataItem& x) { |
+ os << "<BlobDataItem>{item: " << x.data_element() |
+ << ", has_data_handle: " << (x.data_handle_.get() ? "true" : "false") |
+ << ", disk_cache_entry_ptr: " << x.disk_cache_entry_ |
+ << ", disk_cache_stream_index_: " << x.disk_cache_stream_index_ << "}"; |
+ return os; |
+} |
+ |
} // namespace storage |