| 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 b9ac29bce0837e6feda4a5cc50658f7c51d8faa2..58ccabe267b4df163d2de566b380d0ec0469ec5b 100644
|
| --- a/storage/browser/blob/blob_data_item.cc
|
| +++ b/storage/browser/blob/blob_data_item.cc
|
| @@ -44,4 +44,14 @@ void PrintTo(const BlobDataItem& x, ::std::ostream* os) {
|
| << ", disk_cache_stream_index_: " << x.disk_cache_stream_index_ << "}";
|
| }
|
|
|
| +bool operator==(const BlobDataItem& a, const BlobDataItem& b) {
|
| + return a.disk_cache_entry() == b.disk_cache_entry() &&
|
| + a.disk_cache_stream_index() == b.disk_cache_stream_index() &&
|
| + a.data_element() == b.data_element();
|
| +}
|
| +
|
| +bool operator!=(const BlobDataItem& a, const BlobDataItem& b) {
|
| + return !(a == b);
|
| +}
|
| +
|
| } // namespace storage
|
|
|