From 94dc971dc40c6cfea33abd234e744ac314d0bc2a Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Sat, 5 Mar 2011 19:08:32 +0000 Subject: Move resource related IPCs to their own file in content. I added a IPC_STRUCT_TRAITS_PARENT macro to allow the automatic serializing macros to add a parent struct. TBR=tsepez Review URL: http://codereview.chromium.org/6628035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77048 0039d316-1c4b-4281-b951-d872f2087c98 --- ipc/ipc_message_null_macros.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ipc/ipc_message_null_macros.h') diff --git a/ipc/ipc_message_null_macros.h b/ipc/ipc_message_null_macros.h index 2c33172..fb57df5 100644 --- a/ipc/ipc_message_null_macros.h +++ b/ipc/ipc_message_null_macros.h @@ -11,6 +11,7 @@ #undef IPC_STRUCT_END #undef IPC_STRUCT_TRAITS_BEGIN #undef IPC_STRUCT_TRAITS_MEMBER +#undef IPC_STRUCT_TRAITS_PARENT #undef IPC_STRUCT_TRAITS_END #undef IPC_ENUM_TRAITS #undef IPC_MESSAGE_CONTROL0 @@ -91,6 +92,7 @@ #define IPC_STRUCT_END() #define IPC_STRUCT_TRAITS_BEGIN(struct_name) #define IPC_STRUCT_TRAITS_MEMBER(name) +#define IPC_STRUCT_TRAITS_PARENT(type) #define IPC_STRUCT_TRAITS_END() #define IPC_ENUM_TRAITS(enum_name) #define IPC_MESSAGE_CONTROL0(msg_class) -- cgit v1.1