| 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 58ccabe267b4df163d2de566b380d0ec0469ec5b..ea5279e8ce36f074771306ee4937b59f166fd345 100644
|
| --- a/storage/browser/blob/blob_data_item.cc
|
| +++ b/storage/browser/blob/blob_data_item.cc
|
| @@ -12,16 +12,16 @@ BlobDataItem::DataHandle::~DataHandle() {
|
| BlobDataItem::BlobDataItem(scoped_ptr<DataElement> item)
|
| : item_(item.Pass()),
|
| disk_cache_entry_(nullptr),
|
| - disk_cache_stream_index_(-1) {
|
| -}
|
| + disk_cache_stream_index_(-1),
|
| + temp_file_(false) {}
|
|
|
| BlobDataItem::BlobDataItem(scoped_ptr<DataElement> item,
|
| const scoped_refptr<DataHandle>& data_handle)
|
| : item_(item.Pass()),
|
| data_handle_(data_handle),
|
| disk_cache_entry_(nullptr),
|
| - disk_cache_stream_index_(-1) {
|
| -}
|
| + disk_cache_stream_index_(-1),
|
| + temp_file_(false) {}
|
|
|
| BlobDataItem::BlobDataItem(scoped_ptr<DataElement> item,
|
| const scoped_refptr<DataHandle>& data_handle,
|
| @@ -30,8 +30,8 @@ BlobDataItem::BlobDataItem(scoped_ptr<DataElement> item,
|
| : item_(item.Pass()),
|
| data_handle_(data_handle),
|
| disk_cache_entry_(entry),
|
| - disk_cache_stream_index_(disk_cache_stream_index) {
|
| -}
|
| + disk_cache_stream_index_(disk_cache_stream_index),
|
| + temp_file_(false) {}
|
|
|
| BlobDataItem::~BlobDataItem() {}
|
|
|
| @@ -41,7 +41,8 @@ void PrintTo(const BlobDataItem& x, ::std::ostream* os) {
|
| PrintTo(*x.item_, os);
|
| *os << ", 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_ << "}";
|
| + << ", disk_cache_stream_index_: " << x.disk_cache_stream_index_
|
| + << ", temp_file_: " << x.temp_file_ << "}";
|
| }
|
|
|
| bool operator==(const BlobDataItem& a, const BlobDataItem& b) {
|
|
|