Skip to content

Commit

Permalink
Consistently don't use a semicolon at the end of IPC_MESSAGE macros.
Browse files Browse the repository at this point in the history
The IPC_MESSAGE_ macros used by ipc_fuzzer must not end in semicoli.
Consistently write all other IPC_MESSAGE macros without a semicolon too.

No intended behavior change.

BUG=552680
TBR=horo

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

Cr-Commit-Position: refs/heads/master@{#358536}
  • Loading branch information
nico authored and Commit bot committed Nov 7, 2015
1 parent 4598ddc commit 5d655d2
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion android_webview/common/render_view_messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ IPC_MESSAGE_CONTROL1(AwViewMsg_SetJsOnlineProperty,
IPC_MESSAGE_ROUTED3(AwViewMsg_SmoothScroll,
int /* target_x */,
int /* target_y */,
long /* duration_ms */);
long /* duration_ms */)

//-----------------------------------------------------------------------------
// RenderView messages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@

#define IPC_MESSAGE_START TestMsgStart

IPC_MESSAGE_CONTROL0(TestMsg_Message);
IPC_MESSAGE_ROUTED1(TestMsg_MessageFromWorker, int);
IPC_MESSAGE_CONTROL0(TestMsg_Message)
IPC_MESSAGE_ROUTED1(TestMsg_MessageFromWorker, int)

// ---------------------------------------------------------------------------

Expand Down
10 changes: 5 additions & 5 deletions content/common/android/sync_compositor_messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -105,23 +105,23 @@ IPC_SYNC_MESSAGE_ROUTED2_2(SyncCompositorMsg_HandleInputEvent,
content::SyncCompositorCommonBrowserParams,
IPC::WebInputEventPointer,
content::SyncCompositorCommonRendererParams,
content::InputEventAckState);
content::InputEventAckState)

IPC_SYNC_MESSAGE_ROUTED2_1(SyncCompositorMsg_BeginFrame,
content::SyncCompositorCommonBrowserParams,
cc::BeginFrameArgs,
content::SyncCompositorCommonRendererParams);
content::SyncCompositorCommonRendererParams)

IPC_SYNC_MESSAGE_ROUTED2_1(SyncCompositorMsg_ComputeScroll,
content::SyncCompositorCommonBrowserParams,
base::TimeTicks,
content::SyncCompositorCommonRendererParams);
content::SyncCompositorCommonRendererParams)

IPC_SYNC_MESSAGE_ROUTED2_2(SyncCompositorMsg_DemandDrawHw,
content::SyncCompositorCommonBrowserParams,
content::SyncCompositorDemandDrawHwParams,
content::SyncCompositorCommonRendererParams,
cc::CompositorFrame);
cc::CompositorFrame)

IPC_MESSAGE_ROUTED1(SyncCompositorHostMsg_UpdateState,
content::SyncCompositorCommonRendererParams);
content::SyncCompositorCommonRendererParams)
4 changes: 2 additions & 2 deletions content/common/media/media_player_messages_android.h
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_DestroyMediaPlayer,
// Initialize a media player object.
IPC_MESSAGE_ROUTED1(
MediaPlayerHostMsg_Initialize,
MediaPlayerHostMsg_Initialize_Params);
MediaPlayerHostMsg_Initialize_Params)

// Pause the player.
IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_Pause,
Expand Down Expand Up @@ -251,7 +251,7 @@ IPC_MESSAGE_ROUTED1(MediaPlayerHostMsg_RequestRemotePlaybackControl,
// Requests the player with |player_id| to use the CDM with |cdm_id|.
IPC_MESSAGE_ROUTED2(MediaPlayerHostMsg_SetCdm,
int /* player_id */,
int /* cdm_id */);
int /* cdm_id */)

// Sent after the renderer demuxer has seeked.
IPC_MESSAGE_CONTROL2(MediaPlayerHostMsg_DemuxerSeekDone,
Expand Down
4 changes: 2 additions & 2 deletions content/common/view_messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ IPC_MESSAGE_CONTROL1(ViewMsg_UpdateScrollbarTheme,
IPC_MESSAGE_CONTROL3(ViewMsg_SystemColorsChanged,
int /* AppleAquaColorVariant */,
std::string /* AppleHighlightedTextColor */,
std::string /* AppleHighlightColor */);
std::string /* AppleHighlightColor */)
#endif

#if defined(OS_ANDROID)
Expand Down Expand Up @@ -1399,7 +1399,7 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_PluginFocusChanged,
IPC_MESSAGE_ROUTED0(ViewHostMsg_StartPluginIme)

// Receives content of a web page as plain text.
IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string);
IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
#endif

// Adding a new message? Stick to the sort order above: first platform
Expand Down
18 changes: 9 additions & 9 deletions ui/metro_viewer/metro_viewer_messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,21 @@ IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_KeyDown,
uint32, /* virtual key */
uint32, /* repeat count */
uint32, /* scan code */
uint32 /* key state */);
uint32 /* key state */)
// Informs the browser that a key was released.
IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_KeyUp,
uint32, /* virtual key */
uint32, /* repeat count */
uint32, /* scan code */
uint32 /* key state */);
uint32 /* key state */)
IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character,
uint32, /* virtual key */
uint32, /* repeat count */
uint32, /* scan code */
uint32 /* key state */);
uint32 /* key state */)
// Informs the browser that the Metro window has been activated.
IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_WindowActivated,
bool /* Whether the window should be repainted */);
bool /* Whether the window should be repainted */)

// Informs the browser that the user has completed an edge gesture.
IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_EdgeGesture)
Expand Down Expand Up @@ -109,19 +109,19 @@ IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_SelectFolderDone,
// Requests the viewer to activate desktop mode.
IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_ActivateDesktop,
base::FilePath /* shortcut */,
bool /* ash exit */);
bool /* ash exit */)

// Request the viewer to close itself gracefully.
IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_MetroExit);
IPC_MESSAGE_CONTROL0(MetroViewerHostMsg_MetroExit)

// Requests the viewer to open a URL in desktop mode.
IPC_MESSAGE_CONTROL2(MetroViewerHostMsg_OpenURLOnDesktop,
base::FilePath, /* shortcut */
base::string16 /* url */);
base::FilePath /* shortcut */,
base::string16 /* url */)

// Requests the viewer to change the pointer to a new cursor.
IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor,
int64 /* cursor */);
int64 /* cursor */)

// This structure contains the parameters sent to the viewer process to display
// the file save dialog.
Expand Down

0 comments on commit 5d655d2

Please sign in to comment.