diff options
Diffstat (limited to 'blimp/net')
-rw-r--r-- | blimp/net/blimp_message_demultiplexer.cc | 1 | ||||
-rw-r--r-- | blimp/net/blimp_message_pump.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/blimp/net/blimp_message_demultiplexer.cc b/blimp/net/blimp_message_demultiplexer.cc index 1444c9fd..8c69702 100644 --- a/blimp/net/blimp_message_demultiplexer.cc +++ b/blimp/net/blimp_message_demultiplexer.cc @@ -29,6 +29,7 @@ void BlimpMessageDemultiplexer::AddProcessor(BlimpMessage::Type type, void BlimpMessageDemultiplexer::ProcessMessage( scoped_ptr<BlimpMessage> message, const net::CompletionCallback& callback) { + DVLOG(2) << "ProcessMessage : " << *message; auto receiver_iter = feature_receiver_map_.find(message->type()); if (receiver_iter == feature_receiver_map_.end()) { DLOG(ERROR) << "No registered receiver for " << *message << "."; diff --git a/blimp/net/blimp_message_pump.cc b/blimp/net/blimp_message_pump.cc index ae264e1..c3d6380 100644 --- a/blimp/net/blimp_message_pump.cc +++ b/blimp/net/blimp_message_pump.cc @@ -59,6 +59,7 @@ void BlimpMessagePump::OnReadPacketComplete(int result) { if (result == net::OK) { scoped_ptr<BlimpMessage> message(new BlimpMessage); if (message->ParseFromArray(buffer_->StartOfBuffer(), buffer_->offset())) { + DVLOG(2) << "OnReadPacketComplete, result=" << *message; processor_->ProcessMessage(std::move(message), process_msg_callback_.callback()); } else { |