Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(730)

Unified Diff: ipc/attachment_broker_messages.h

Issue 1532053002: use variadic macros/templates in IPC message implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: simplify Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ipc/attachment_broker_messages.h
diff --git a/ipc/attachment_broker_messages.h b/ipc/attachment_broker_messages.h
index a6301c2da134f18be82d5563b5e8f2a54be774ba..fcb76febfb4b6b331ef8960c24d49ac6d31429c0 100644
--- a/ipc/attachment_broker_messages.h
+++ b/ipc/attachment_broker_messages.h
@@ -18,6 +18,10 @@
#include "ipc/mach_port_attachment_mac.h"
#endif // defined(OS_MACOSX)
+#undef IPC_MESSAGE_EXPORT
danakj 2015/12/19 00:15:06 Why is this moved?
mdempsky 2015/12/19 02:14:48 I was trying to fix the Windows component build an
+#define IPC_MESSAGE_EXPORT IPC_EXPORT
+#define IPC_MESSAGE_START AttachmentBrokerMsgStart
+
// ----------------------------------------------------------------------------
// Serialization of structs.
// ----------------------------------------------------------------------------
@@ -42,10 +46,6 @@ IPC_STRUCT_TRAITS_BEGIN(IPC::internal::MachPortAttachmentMac::WireFormat)
IPC_STRUCT_TRAITS_END()
#endif // defined(OS_MACOSX)
-#undef IPC_MESSAGE_EXPORT
-#define IPC_MESSAGE_EXPORT IPC_EXPORT
-#define IPC_MESSAGE_START AttachmentBrokerMsgStart
-
// ----------------------------------------------------------------------------
// Messages sent from the broker to a non-broker process.
// ----------------------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698