| Index: ipc/ipc_channel_proxy.cc
|
| diff --git a/ipc/ipc_channel_proxy.cc b/ipc/ipc_channel_proxy.cc
|
| index 1c3de84cdd1e5f33a0aa4ab56fa6aa44dcd3430b..ef1c0b2272511d4f45e081af760b814c11b2db54 100644
|
| --- a/ipc/ipc_channel_proxy.cc
|
| +++ b/ipc/ipc_channel_proxy.cc
|
| @@ -78,7 +78,7 @@
|
|
|
| bool ChannelProxy::Context::TryFilters(const Message& message) {
|
| DCHECK(message_filter_router_);
|
| -#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
|
| +#ifdef IPC_MESSAGE_LOG_ENABLED
|
| Logging* logger = Logging::GetInstance();
|
| if (logger->Enabled())
|
| logger->OnPreDispatchMessage(message);
|
| @@ -89,7 +89,7 @@
|
| listener_task_runner_->PostTask(
|
| FROM_HERE, base::Bind(&Context::OnDispatchBadMessage, this, message));
|
| }
|
| -#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
|
| +#ifdef IPC_MESSAGE_LOG_ENABLED
|
| if (logger->Enabled())
|
| logger->OnPostDispatchMessage(message);
|
| #endif
|
| @@ -315,7 +315,7 @@
|
|
|
| OnDispatchConnected();
|
|
|
| -#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
|
| +#ifdef IPC_MESSAGE_LOG_ENABLED
|
| Logging* logger = Logging::GetInstance();
|
| if (message.type() == IPC_LOGGING_ID) {
|
| logger->OnReceivedLoggingMessage(message);
|
| @@ -330,7 +330,7 @@
|
| if (message.dispatch_error())
|
| listener_->OnBadMessageReceived(message);
|
|
|
| -#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
|
| +#ifdef IPC_MESSAGE_LOG_ENABLED
|
| if (logger->Enabled())
|
| logger->OnPostDispatchMessage(message);
|
| #endif
|
| @@ -530,7 +530,7 @@
|
| message = outgoing_message_filter()->Rewrite(message);
|
| #endif
|
|
|
| -#if BUILDFLAG(IPC_MESSAGE_LOG_ENABLED)
|
| +#ifdef IPC_MESSAGE_LOG_ENABLED
|
| Logging::GetInstance()->OnSendMessage(message);
|
| #endif
|
|
|
|
|