| Index: blimp/net/blob_channel/blob_channel_receiver.cc
|
| diff --git a/blimp/net/blob_channel/blob_channel_receiver.cc b/blimp/net/blob_channel/blob_channel_receiver.cc
|
| index 5819854a5b0998f37ece339bbc2ec669b62d70f6..b0922e7a4bd38f7e823d0c82cae5126b2660b1cf 100644
|
| --- a/blimp/net/blob_channel/blob_channel_receiver.cc
|
| +++ b/blimp/net/blob_channel/blob_channel_receiver.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/logging.h"
|
| #include "base/macros.h"
|
| #include "blimp/common/blob_cache/blob_cache.h"
|
| +#include "blimp/common/blob_cache/id_util.h"
|
|
|
| namespace blimp {
|
|
|
| @@ -44,7 +45,7 @@ BlobChannelReceiverImpl::BlobChannelReceiverImpl(
|
| BlobChannelReceiverImpl::~BlobChannelReceiverImpl() {}
|
|
|
| BlobDataPtr BlobChannelReceiverImpl::Get(const BlobId& id) {
|
| - DVLOG(2) << "Get blob: " << id;
|
| + DVLOG(2) << "Get blob: " << BlobIdToString(id);
|
|
|
| base::AutoLock lock(cache_lock_);
|
| return cache_->Get(id);
|
| @@ -52,7 +53,8 @@ BlobDataPtr BlobChannelReceiverImpl::Get(const BlobId& id) {
|
|
|
| void BlobChannelReceiverImpl::OnBlobReceived(const BlobId& id,
|
| BlobDataPtr data) {
|
| - DVLOG(2) << "Blob received: " << id;
|
| + DVLOG(2) << "Blob received: " << BlobIdToString(id)
|
| + << ", size: " << data->data.size();
|
|
|
| base::AutoLock lock(cache_lock_);
|
| cache_->Put(id, data);
|
|
|