Commit c842a087 authored by philipj's avatar philipj Committed by Commit bot

Remove superfluous semicolons around IPC message macros

These macros are defined such that trailing semicolons (or inner
semicolons) have no effect, and they are overwhealmingly used without
semicolons, as per the documentation in ipc_message_macros.h.

Review URL: https://codereview.chromium.org/1639713002

Cr-Commit-Position: refs/heads/master@{#371706}
parent a57974f2
......@@ -44,8 +44,8 @@ bool CastTransportHostFilter::OnMessageReceived(const IPC::Message& message) {
OnAddValidSsrc)
IPC_MESSAGE_HANDLER(CastHostMsg_SendRtcpFromRtpReceiver,
OnSendRtcpFromRtpReceiver)
IPC_MESSAGE_UNHANDLED(handled = false);
IPC_END_MESSAGE_MAP();
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
}
......
......@@ -55,8 +55,8 @@ class RequestPrintPreviewObserver : public WebContentsObserver {
IPC_BEGIN_MESSAGE_MAP(RequestPrintPreviewObserver, message)
IPC_MESSAGE_HANDLER(PrintHostMsg_RequestPrintPreview,
OnRequestPrintPreview)
IPC_MESSAGE_UNHANDLED(break;)
IPC_END_MESSAGE_MAP();
IPC_MESSAGE_UNHANDLED(break)
IPC_END_MESSAGE_MAP()
return false; // Report not handled so the real handler receives it.
}
......
......@@ -141,7 +141,7 @@ class PrintPreviewObserver : public WebContentsObserver {
IPC_BEGIN_MESSAGE_MAP(PrintPreviewObserver, message)
IPC_MESSAGE_HANDLER(PrintHostMsg_DidGetPreviewPageCount,
OnDidGetPreviewPageCount)
IPC_END_MESSAGE_MAP();
IPC_END_MESSAGE_MAP()
return false;
}
......
......@@ -54,8 +54,8 @@ bool CastIPCDispatcher::OnMessageReceived(const IPC::Message& message) {
IPC_MESSAGE_HANDLER(CastMsg_Rtt, OnRtt)
IPC_MESSAGE_HANDLER(CastMsg_RtcpCastMessage, OnRtcpCastMessage)
IPC_MESSAGE_HANDLER(CastMsg_ReceivedPacket, OnReceivedPacket)
IPC_MESSAGE_UNHANDLED(handled = false);
IPC_END_MESSAGE_MAP();
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
}
......
......@@ -96,7 +96,7 @@ class InterceptingMessageFilter : public content::BrowserMessageFilter {
IPC_BEGIN_MESSAGE_MAP(InterceptingMessageFilter, message)
IPC_MESSAGE_HANDLER(SafeBrowsingHostMsg_PhishingDetectionDone,
OnPhishingDetectionDone)
IPC_MESSAGE_UNHANDLED(handled = false);
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
}
......
......@@ -40,7 +40,7 @@ bool TrustedPluginChannel::OnMessageReceived(const IPC::Message& msg) {
IPC_BEGIN_MESSAGE_MAP(TrustedPluginChannel, msg)
IPC_MESSAGE_HANDLER(NaClRendererMsg_ReportExitStatus, OnReportExitStatus);
IPC_MESSAGE_HANDLER(NaClRendererMsg_ReportLoadStatus, OnReportLoadStatus);
IPC_MESSAGE_UNHANDLED(handled = false);
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
return handled;
}
......
......@@ -211,7 +211,7 @@ bool BrowserPpapiHostImpl::HostMessageFilter::OnMessageReceived(
IPC_MESSAGE_HANDLER(PpapiHostMsg_LogInterfaceUsage,
OnHostMsgLogInterfaceUsage)
IPC_MESSAGE_UNHANDLED(handled = ppapi_host_->OnMessageReceived(msg))
IPC_END_MESSAGE_MAP();
IPC_END_MESSAGE_MAP()
return handled;
}
......
......@@ -103,7 +103,7 @@ class GpuVideoDecodeAccelerator::MessageFilter : public IPC::MessageFilter {
IPC_BEGIN_MESSAGE_MAP(MessageFilter, msg)
IPC_MESSAGE_FORWARD(AcceleratedVideoDecoderMsg_Decode, owner_,
GpuVideoDecodeAccelerator::OnDecode)
IPC_MESSAGE_UNHANDLED(return false;)
IPC_MESSAGE_UNHANDLED(return false)
IPC_END_MESSAGE_MAP()
return true;
}
......
......@@ -57,7 +57,7 @@ void CompositorExternalBeginFrameSource::OnMessageReceived(
DCHECK(begin_frame_source_proxy_.get());
IPC_BEGIN_MESSAGE_MAP(CompositorExternalBeginFrameSource, message)
IPC_MESSAGE_HANDLER(ViewMsg_BeginFrame, OnBeginFrame)
IPC_END_MESSAGE_MAP();
IPC_END_MESSAGE_MAP()
}
void CompositorExternalBeginFrameSource::OnBeginFrame(
......
......@@ -244,7 +244,7 @@ bool PluginDispatcher::OnMessageReceived(const IPC::Message& msg) {
IPC_BEGIN_MESSAGE_MAP(PluginDispatcher, msg)
IPC_MESSAGE_HANDLER(PpapiMsg_SupportsInterface, OnMsgSupportsInterface)
IPC_MESSAGE_HANDLER(PpapiMsg_SetPreferences, OnMsgSetPreferences)
IPC_MESSAGE_UNHANDLED(handled = false);
IPC_MESSAGE_UNHANDLED(handled = false)
IPC_END_MESSAGE_MAP()
if (handled)
return true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment