| Index: storage/browser/blob/blob_data_snapshot.cc
|
| diff --git a/storage/browser/blob/blob_data_snapshot.cc b/storage/browser/blob/blob_data_snapshot.cc
|
| index 0071a11dfd2e9fd96b9aad2380de8e3db0e19802..45a85242e088c339de323032857e67a4b43b1fd4 100644
|
| --- a/storage/browser/blob/blob_data_snapshot.cc
|
| +++ b/storage/browser/blob/blob_data_snapshot.cc
|
| @@ -47,4 +47,16 @@ size_t BlobDataSnapshot::GetMemoryUsage() const {
|
| return memory;
|
| }
|
|
|
| +void PrintTo(const BlobDataSnapshot& x, std::ostream* os) {
|
| + DCHECK(os);
|
| + *os << "<BlobDataSnapshot>{uuid: " << x.uuid()
|
| + << ", content_type: " << x.content_type_
|
| + << ", content_disposition: " << x.content_disposition_ << ", items: [";
|
| + for (const auto& item : x.items_) {
|
| + PrintTo(*item, os);
|
| + *os << ", ";
|
| + }
|
| + *os << "]}";
|
| +}
|
| +
|
| } // namespace storage
|
|
|