summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthakis <thakis@chromium.org>2015-11-07 11:12:21 -0800
committerCommit bot <commit-bot@chromium.org>2015-11-07 19:13:02 +0000
commit5d655d28e567d236d897657250c2690f40d51ba0 (patch)
treefe911f61634b5b3813d029d74203d7fb9ac3962d
parent4598ddcef9994c9c400624bba1718a23a14cd775 (diff)
downloadchromium_src-5d655d28e567d236d897657250c2690f40d51ba0.zip
chromium_src-5d655d28e567d236d897657250c2690f40d51ba0.tar.gz
chromium_src-5d655d28e567d236d897657250c2690f40d51ba0.tar.bz2
Consistently don't use a semicolon at the end of IPC_MESSAGE macros.
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}
-rw-r--r--android_webview/common/render_view_messages.h2
-rw-r--r--content/browser/service_worker/service_worker_version_unittest.cc4
-rw-r--r--content/common/android/sync_compositor_messages.h10
-rw-r--r--content/common/media/media_player_messages_android.h4
-rw-r--r--content/common/view_messages.h4
-rw-r--r--ui/metro_viewer/metro_viewer_messages.h18
6 files changed, 21 insertions, 21 deletions
diff --git a/android_webview/common/render_view_messages.h b/android_webview/common/render_view_messages.h
index e13c3a2..45796f1 100644
--- a/android_webview/common/render_view_messages.h
+++ b/android_webview/common/render_view_messages.h
@@ -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
diff --git a/content/browser/service_worker/service_worker_version_unittest.cc b/content/browser/service_worker/service_worker_version_unittest.cc
index 0a6544e..55a6d91 100644
--- a/content/browser/service_worker/service_worker_version_unittest.cc
+++ b/content/browser/service_worker/service_worker_version_unittest.cc
@@ -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)
// ---------------------------------------------------------------------------
diff --git a/content/common/android/sync_compositor_messages.h b/content/common/android/sync_compositor_messages.h
index d48091a..4ea5b15 100644
--- a/content/common/android/sync_compositor_messages.h
+++ b/content/common/android/sync_compositor_messages.h
@@ -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)
diff --git a/content/common/media/media_player_messages_android.h b/content/common/media/media_player_messages_android.h
index 29c5269..909c273 100644
--- a/content/common/media/media_player_messages_android.h
+++ b/content/common/media/media_player_messages_android.h
@@ -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,
@@ -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,
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index f4fb6a4..c1a3d36 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -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)
@@ -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
diff --git a/ui/metro_viewer/metro_viewer_messages.h b/ui/metro_viewer/metro_viewer_messages.h
index ad7690c..068909f 100644
--- a/ui/metro_viewer/metro_viewer_messages.h
+++ b/ui/metro_viewer/metro_viewer_messages.h
@@ -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)
@@ -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.