OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // No include guard, may be included multiple times. | 5 // No include guard, may be included multiple times. |
6 | 6 |
7 // NULL out all the macros that need NULLing, so that multiple includes of | 7 // NULL out all the macros that need NULLing, so that multiple includes of |
8 // the XXXX_messages_internal.h files will not generate noise. | 8 // the XXXX_messages_internal.h files will not generate noise. |
9 #undef IPC_STRUCT_BEGIN | 9 #undef IPC_STRUCT_BEGIN |
10 #undef IPC_STRUCT_MEMBER | 10 #undef IPC_STRUCT_MEMBER |
11 #undef IPC_STRUCT_END | 11 #undef IPC_STRUCT_END |
12 #undef IPC_STRUCT_TRAITS_BEGIN | 12 #undef IPC_STRUCT_TRAITS_BEGIN |
13 #undef IPC_STRUCT_TRAITS_MEMBER | 13 #undef IPC_STRUCT_TRAITS_MEMBER |
| 14 #undef IPC_STRUCT_TRAITS_PARENT |
14 #undef IPC_STRUCT_TRAITS_END | 15 #undef IPC_STRUCT_TRAITS_END |
15 #undef IPC_ENUM_TRAITS | 16 #undef IPC_ENUM_TRAITS |
16 #undef IPC_MESSAGE_CONTROL0 | 17 #undef IPC_MESSAGE_CONTROL0 |
17 #undef IPC_MESSAGE_CONTROL1 | 18 #undef IPC_MESSAGE_CONTROL1 |
18 #undef IPC_MESSAGE_CONTROL2 | 19 #undef IPC_MESSAGE_CONTROL2 |
19 #undef IPC_MESSAGE_CONTROL3 | 20 #undef IPC_MESSAGE_CONTROL3 |
20 #undef IPC_MESSAGE_CONTROL4 | 21 #undef IPC_MESSAGE_CONTROL4 |
21 #undef IPC_MESSAGE_CONTROL5 | 22 #undef IPC_MESSAGE_CONTROL5 |
22 #undef IPC_MESSAGE_ROUTED0 | 23 #undef IPC_MESSAGE_ROUTED0 |
23 #undef IPC_MESSAGE_ROUTED1 | 24 #undef IPC_MESSAGE_ROUTED1 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 #undef IPC_SYNC_MESSAGE_ROUTED5_1 | 85 #undef IPC_SYNC_MESSAGE_ROUTED5_1 |
85 #undef IPC_SYNC_MESSAGE_ROUTED5_2 | 86 #undef IPC_SYNC_MESSAGE_ROUTED5_2 |
86 #undef IPC_SYNC_MESSAGE_ROUTED5_3 | 87 #undef IPC_SYNC_MESSAGE_ROUTED5_3 |
87 #undef IPC_SYNC_MESSAGE_ROUTED5_4 | 88 #undef IPC_SYNC_MESSAGE_ROUTED5_4 |
88 | 89 |
89 #define IPC_STRUCT_BEGIN(struct_name) | 90 #define IPC_STRUCT_BEGIN(struct_name) |
90 #define IPC_STRUCT_MEMBER(type, name) | 91 #define IPC_STRUCT_MEMBER(type, name) |
91 #define IPC_STRUCT_END() | 92 #define IPC_STRUCT_END() |
92 #define IPC_STRUCT_TRAITS_BEGIN(struct_name) | 93 #define IPC_STRUCT_TRAITS_BEGIN(struct_name) |
93 #define IPC_STRUCT_TRAITS_MEMBER(name) | 94 #define IPC_STRUCT_TRAITS_MEMBER(name) |
| 95 #define IPC_STRUCT_TRAITS_PARENT(type) |
94 #define IPC_STRUCT_TRAITS_END() | 96 #define IPC_STRUCT_TRAITS_END() |
95 #define IPC_ENUM_TRAITS(enum_name) | 97 #define IPC_ENUM_TRAITS(enum_name) |
96 #define IPC_MESSAGE_CONTROL0(msg_class) | 98 #define IPC_MESSAGE_CONTROL0(msg_class) |
97 #define IPC_MESSAGE_CONTROL1(msg_class, type1) | 99 #define IPC_MESSAGE_CONTROL1(msg_class, type1) |
98 #define IPC_MESSAGE_CONTROL2(msg_class, type1, type2) | 100 #define IPC_MESSAGE_CONTROL2(msg_class, type1, type2) |
99 #define IPC_MESSAGE_CONTROL3(msg_class, type1, type2, type3) | 101 #define IPC_MESSAGE_CONTROL3(msg_class, type1, type2, type3) |
100 #define IPC_MESSAGE_CONTROL4(msg_class, type1, type2, type3, type4) | 102 #define IPC_MESSAGE_CONTROL4(msg_class, type1, type2, type3, type4) |
101 #define IPC_MESSAGE_CONTROL5(msg_class, type1, type2, type3, type4, type5) | 103 #define IPC_MESSAGE_CONTROL5(msg_class, type1, type2, type3, type4, type5) |
102 #define IPC_MESSAGE_ROUTED0(msg_class) | 104 #define IPC_MESSAGE_ROUTED0(msg_class) |
103 #define IPC_MESSAGE_ROUTED1(msg_class, type1) | 105 #define IPC_MESSAGE_ROUTED1(msg_class, type1) |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 #define IPC_SYNC_MESSAGE_ROUTED4_0(msg_class, type1_in, type2_in, type3_in, type
4_in) | 160 #define IPC_SYNC_MESSAGE_ROUTED4_0(msg_class, type1_in, type2_in, type3_in, type
4_in) |
159 #define IPC_SYNC_MESSAGE_ROUTED4_1(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out) | 161 #define IPC_SYNC_MESSAGE_ROUTED4_1(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out) |
160 #define IPC_SYNC_MESSAGE_ROUTED4_2(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out, type2_out) | 162 #define IPC_SYNC_MESSAGE_ROUTED4_2(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out, type2_out) |
161 #define IPC_SYNC_MESSAGE_ROUTED4_3(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out, type2_out, type3_out) | 163 #define IPC_SYNC_MESSAGE_ROUTED4_3(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out, type2_out, type3_out) |
162 #define IPC_SYNC_MESSAGE_ROUTED4_4(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out, type2_out, type3_out, type4_out) | 164 #define IPC_SYNC_MESSAGE_ROUTED4_4(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out, type2_out, type3_out, type4_out) |
163 #define IPC_SYNC_MESSAGE_ROUTED5_0(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in) | 165 #define IPC_SYNC_MESSAGE_ROUTED5_0(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in) |
164 #define IPC_SYNC_MESSAGE_ROUTED5_1(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out) | 166 #define IPC_SYNC_MESSAGE_ROUTED5_1(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out) |
165 #define IPC_SYNC_MESSAGE_ROUTED5_2(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out, type2_out) | 167 #define IPC_SYNC_MESSAGE_ROUTED5_2(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out, type2_out) |
166 #define IPC_SYNC_MESSAGE_ROUTED5_3(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out, type2_out, type3_out) | 168 #define IPC_SYNC_MESSAGE_ROUTED5_3(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out, type2_out, type3_out) |
167 #define IPC_SYNC_MESSAGE_ROUTED5_4(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out, type2_out, type3_out, type4_out) | 169 #define IPC_SYNC_MESSAGE_ROUTED5_4(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out, type2_out, type3_out, type4_out) |
OLD | NEW |