diff --git a/ipc/ipc_channel_mojo.cc b/ipc/ipc_channel_mojo.cc index d7ce34a980421..cb10b0915b95f 100644 --- a/ipc/ipc_channel_mojo.cc +++ b/ipc/ipc_channel_mojo.cc @@ -217,6 +217,12 @@ void ChannelMojo::OnAssociatedInterfaceRequest( } bool ChannelMojo::Send(Message* message) { + DVLOG(2) << "sending message @" << message << " on channel @" << this + << " with type " << message->type(); +#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED) + Logging::GetInstance()->OnSendMessage(message); +#endif + std::unique_ptr<Message> scoped_message = base::WrapUnique(message); if (!message_reader_) return false;