diff options
author | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-26 06:08:40 +0000 |
---|---|---|
committer | tsepez@chromium.org <tsepez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-26 06:08:40 +0000 |
commit | b2c1c334aa9d27a2c2bcf3e8b2aeb19efee826fa (patch) | |
tree | 4d8c6f7a83862b1199e8de77d172accb5b74516a | |
parent | 006c48c5b7a0f607ce212d5e26f99761eab1c508 (diff) | |
download | chromium_src-b2c1c334aa9d27a2c2bcf3e8b2aeb19efee826fa.zip chromium_src-b2c1c334aa9d27a2c2bcf3e8b2aeb19efee826fa.tar.gz chromium_src-b2c1c334aa9d27a2c2bcf3e8b2aeb19efee826fa.tar.bz2 |
Tidy up stray semicolons and missing include guard in message files.
These manifested when I was making an ipc utility for my own use. They
are wrong even if they don't break the builders.
R=jam@chromium.org
Review URL: https://codereview.chromium.org/354493007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279919 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/common/cast_messages.h | 10 | ||||
-rw-r--r-- | chrome/common/chrome_utility_printing_messages.h | 2 | ||||
-rw-r--r-- | content/common/accessibility_messages.h | 2 | ||||
-rw-r--r-- | content/common/browser_plugin/browser_plugin_messages.h | 4 | ||||
-rw-r--r-- | content/common/indexed_db/indexed_db_messages.h | 12 | ||||
-rw-r--r-- | content/common/input_messages.h | 2 | ||||
-rw-r--r-- | content/common/mojo/mojo_messages.h | 3 | ||||
-rw-r--r-- | content/common/screen_orientation_messages.h | 2 | ||||
-rw-r--r-- | content/common/service_worker/service_worker_messages.h | 2 | ||||
-rw-r--r-- | content/common/view_messages.h | 4 | ||||
-rw-r--r-- | ppapi/proxy/ppapi_messages.h | 14 |
11 files changed, 31 insertions, 26 deletions
diff --git a/chrome/common/cast_messages.h b/chrome/common/cast_messages.h index f6efb3b..afc6a13 100644 --- a/chrome/common/cast_messages.h +++ b/chrome/common/cast_messages.h @@ -94,16 +94,16 @@ IPC_STRUCT_TRAITS_END() IPC_MESSAGE_CONTROL2(CastMsg_ReceivedPacket, int32 /* channel_id */, - media::cast::Packet /* packet */); + media::cast::Packet /* packet */) IPC_MESSAGE_CONTROL2( CastMsg_NotifyStatusChange, int32 /* channel_id */, - media::cast::transport::CastTransportStatus /* status */); + media::cast::transport::CastTransportStatus /* status */) IPC_MESSAGE_CONTROL2(CastMsg_RawEvents, int32 /* channel_id */, - std::vector<media::cast::PacketEvent> /* packet_events */); + std::vector<media::cast::PacketEvent> /* packet_events */) // Cast messages sent from the renderer to the browser. @@ -144,8 +144,8 @@ IPC_MESSAGE_CONTROL5( IPC_MESSAGE_CONTROL2( CastHostMsg_New, int32 /* channel_id */, - net::IPEndPoint /*remote_end_point*/); + net::IPEndPoint /*remote_end_point*/) IPC_MESSAGE_CONTROL1( CastHostMsg_Delete, - int32 /* channel_id */); + int32 /* channel_id */) diff --git a/chrome/common/chrome_utility_printing_messages.h b/chrome/common/chrome_utility_printing_messages.h index b1b47b8..b9109e8 100644 --- a/chrome/common/chrome_utility_printing_messages.h +++ b/chrome/common/chrome_utility_printing_messages.h @@ -59,7 +59,7 @@ IPC_STRUCT_TRAITS_BEGIN(printing::PrinterSemanticCapsAndDefaults) IPC_STRUCT_TRAITS_MEMBER(default_dpi) IPC_STRUCT_TRAITS_END() -IPC_ENUM_TRAITS(printing::PwgRasterTransformType); +IPC_ENUM_TRAITS(printing::PwgRasterTransformType) IPC_STRUCT_TRAITS_BEGIN(printing::PwgRasterSettings) IPC_STRUCT_TRAITS_MEMBER(odd_page_transform) diff --git a/content/common/accessibility_messages.h b/content/common/accessibility_messages.h index 3a9ccb7..adb5284 100644 --- a/content/common/accessibility_messages.h +++ b/content/common/accessibility_messages.h @@ -108,7 +108,7 @@ IPC_MESSAGE_ROUTED3(AccessibilityMsg_SetTextSelection, // Determine the accessibility object under a given point and reply with // a AccessibilityHostMsg_HitTestResult with the same id. IPC_MESSAGE_ROUTED1(AccessibilityMsg_HitTest, - gfx::Point /* location to test */); + gfx::Point /* location to test */) // Tells the render view that a AccessibilityHostMsg_Events // message was processed and it can send addition events. diff --git a/content/common/browser_plugin/browser_plugin_messages.h b/content/common/browser_plugin/browser_plugin_messages.h index 8b92d36..fa84b4b 100644 --- a/content/common/browser_plugin/browser_plugin_messages.h +++ b/content/common/browser_plugin/browser_plugin_messages.h @@ -155,7 +155,7 @@ IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_HandleInputEvent, IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_CopyFromCompositingSurfaceAck, int /* instance_id */, int /* request_id */, - SkBitmap); + SkBitmap) // Notify the guest renderer that some resources given to the embededer // are not used any more. @@ -214,7 +214,7 @@ IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_ResizeGuest, // This message is sent in response to a completed attachment of a guest // to a BrowserPlugin. -IPC_MESSAGE_CONTROL1(BrowserPluginMsg_Attach_ACK, int /* instance_id */); +IPC_MESSAGE_CONTROL1(BrowserPluginMsg_Attach_ACK, int /* instance_id */) // Once the swapped out guest RenderView has been created in the embedder render // process, the browser process informs the embedder of its routing ID. diff --git a/content/common/indexed_db/indexed_db_messages.h b/content/common/indexed_db/indexed_db_messages.h index 729cdf2..93637a3 100644 --- a/content/common/indexed_db/indexed_db_messages.h +++ b/content/common/indexed_db/indexed_db_messages.h @@ -16,6 +16,15 @@ #include "ipc/ipc_param_traits.h" #include "third_party/WebKit/public/platform/WebIDBTypes.h" +// Singly-included section for typedefs in multiply-included file. +#ifndef CONTENT_COMMON_INDEXED_DB_INDEXED_DB_MESSAGES_H_ +#define CONTENT_COMMON_INDEXED_DB_INDEXED_DB_MESSAGES_H_ + +// An index id, and corresponding set of keys to insert. +typedef std::pair<int64, std::vector<content::IndexedDBKey> > IndexKeys; + +#endif // CONTENT_COMMON_INDEXED_DB_INDEXED_DB_MESSAGES_H_ + #undef IPC_MESSAGE_EXPORT #define IPC_MESSAGE_EXPORT CONTENT_EXPORT #define IPC_MESSAGE_START IndexedDBMsgStart @@ -31,9 +40,6 @@ IPC_ENUM_TRAITS_MAX_VALUE(blink::WebIDBTransactionMode, IPC_ENUM_TRAITS_MAX_VALUE(blink::WebIDBDataLoss, blink::WebIDBDataLossTotal) -// An index id, and corresponding set of keys to insert. -typedef std::pair<int64, std::vector<content::IndexedDBKey> > IndexKeys; - // Used to enumerate indexed databases. IPC_STRUCT_BEGIN(IndexedDBHostMsg_FactoryGetDatabaseNames_Params) // The response should have these ids. diff --git a/content/common/input_messages.h b/content/common/input_messages.h index f91ac6b..2ea722c 100644 --- a/content/common/input_messages.h +++ b/content/common/input_messages.h @@ -202,7 +202,7 @@ IPC_MESSAGE_ROUTED3(InputMsg_ActivateNearestFindResult, float /* y */) #endif -IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted); +IPC_MESSAGE_ROUTED0(InputMsg_SyntheticGestureCompleted) // ----------------------------------------------------------------------------- // Messages sent from the renderer to the browser. diff --git a/content/common/mojo/mojo_messages.h b/content/common/mojo/mojo_messages.h index e9657da..45133d7 100644 --- a/content/common/mojo/mojo_messages.h +++ b/content/common/mojo/mojo_messages.h @@ -16,9 +16,8 @@ #undef IPC_MESSAGE_EXPORT #define IPC_MESSAGE_EXPORT CONTENT_EXPORT - #define IPC_MESSAGE_START MojoMsgStart // Mojo IPC is bootstrapped over Chrome IPC via this message. IPC_MESSAGE_CONTROL1(MojoMsg_Activate, - IPC::PlatformFileForTransit /* handle */); + IPC::PlatformFileForTransit /* handle */) diff --git a/content/common/screen_orientation_messages.h b/content/common/screen_orientation_messages.h index 334c765..5cfc6f4 100644 --- a/content/common/screen_orientation_messages.h +++ b/content/common/screen_orientation_messages.h @@ -48,7 +48,7 @@ IPC_MESSAGE_ROUTED3(ScreenOrientationMsg_LockSuccess, // process can associate the response to the right request. IPC_MESSAGE_ROUTED2(ScreenOrientationMsg_LockError, int, /* request_id */ - blink::WebLockOrientationError /* error */); + blink::WebLockOrientationError /* error */) // The renderer process requests the browser process to lock the screen // orientation to the specified |orientations|. The request contains a diff --git a/content/common/service_worker/service_worker_messages.h b/content/common/service_worker/service_worker_messages.h index fa65505..9715efc 100644 --- a/content/common/service_worker/service_worker_messages.h +++ b/content/common/service_worker/service_worker_messages.h @@ -104,7 +104,7 @@ IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_InstallEventFinished, blink::WebServiceWorkerEventResult) IPC_MESSAGE_ROUTED2(ServiceWorkerHostMsg_ActivateEventFinished, int /* request_id */, - blink::WebServiceWorkerEventResult); + blink::WebServiceWorkerEventResult) IPC_MESSAGE_ROUTED3(ServiceWorkerHostMsg_FetchEventFinished, int /* request_id */, content::ServiceWorkerFetchEventResult, diff --git a/content/common/view_messages.h b/content/common/view_messages.h index 5160e05..144430a 100644 --- a/content/common/view_messages.h +++ b/content/common/view_messages.h @@ -885,7 +885,7 @@ IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, std::vector<unsigned char> /* png */) #if defined(OS_MACOSX) -IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay); +IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay) // Notification of a change in scrollbar appearance and/or behavior. IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme, @@ -1106,7 +1106,7 @@ IPC_MESSAGE_ROUTED5(ViewHostMsg_Find_Reply, // Indicates that the render view has been closed in respose to a // Close message. IPC_MESSAGE_CONTROL1(ViewHostMsg_Close_ACK, - int /* old_route_id */); + int /* old_route_id */) // Indicates that the current page has been closed, after a ClosePage // message. diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h index 03f15d7..57c35fe 100644 --- a/ppapi/proxy/ppapi_messages.h +++ b/ppapi/proxy/ppapi_messages.h @@ -685,7 +685,7 @@ IPC_SYNC_MESSAGE_ROUTED2_2(PpapiMsg_PPPMessageHandler_HandleBlockingMessage, PP_Instance /* instance */, ppapi::proxy::SerializedVar /* message */, ppapi::proxy::SerializedVar /* result */, - bool /* was_handled */); + bool /* was_handled */) // PPP_MouseLock. IPC_MESSAGE_ROUTED1(PpapiMsg_PPPMouseLock_MouseLockLost, @@ -822,7 +822,7 @@ IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, IPC::ChannelHandle /* handle */) // Notify the renderer that the PPAPI channel gets ready in the plugin. -IPC_MESSAGE_CONTROL0(PpapiHostMsg_StartupInitializationComplete); +IPC_MESSAGE_CONTROL0(PpapiHostMsg_StartupInitializationComplete) // Calls renderer to open a resource file for nacl_irt_open_resource(). IPC_SYNC_MESSAGE_CONTROL1_1(PpapiHostMsg_OpenResource, @@ -1330,8 +1330,8 @@ IPC_MESSAGE_CONTROL3(PpapiHostMsg_UMA_HistogramEnumeration, std::string /* name */, int32_t /* sample */, int32_t /* boundary_value */) -IPC_MESSAGE_CONTROL0(PpapiHostMsg_UMA_IsCrashReportingEnabled); -IPC_MESSAGE_CONTROL0(PpapiPluginMsg_UMA_IsCrashReportingEnabledReply); +IPC_MESSAGE_CONTROL0(PpapiHostMsg_UMA_IsCrashReportingEnabled) +IPC_MESSAGE_CONTROL0(PpapiPluginMsg_UMA_IsCrashReportingEnabledReply) // Compositor IPC_MESSAGE_CONTROL0(PpapiHostMsg_Compositor_Create) @@ -1529,11 +1529,11 @@ IPC_MESSAGE_CONTROL3(PpapiPluginMsg_MediaStreamTrack_InitBuffers, int32_t /* buffer_size */, bool /* readonly */) IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamTrack_EnqueueBuffer, - int32_t /* index */); + int32_t /* index */) IPC_MESSAGE_CONTROL1(PpapiHostMsg_MediaStreamTrack_EnqueueBuffer, - int32_t /* index */); + int32_t /* index */) IPC_MESSAGE_CONTROL1(PpapiPluginMsg_MediaStreamTrack_EnqueueBuffers, - std::vector<int32_t> /* indices */); + std::vector<int32_t> /* indices */) IPC_MESSAGE_CONTROL0(PpapiHostMsg_MediaStreamTrack_Close) // NetworkMonitor. |