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

Side by Side Diff: chrome/common/ipc_message_macros.h

Issue 149575: Roll WebKit DEPS from 45738 to 45840. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | chrome/common/ipc_message_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // 7 //
8 // In the first pass, IPC_MESSAGE_MACROS_ENUMS should be defined, which will 8 // In the first pass, IPC_MESSAGE_MACROS_ENUMS should be defined, which will
9 // create enums for each of the messages defined with the IPC_MESSAGE_* macros. 9 // create enums for each of the messages defined with the IPC_MESSAGE_* macros.
10 // 10 //
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 #undef IPC_MESSAGE_CONTROL3 89 #undef IPC_MESSAGE_CONTROL3
90 #undef IPC_MESSAGE_CONTROL4 90 #undef IPC_MESSAGE_CONTROL4
91 #undef IPC_MESSAGE_CONTROL5 91 #undef IPC_MESSAGE_CONTROL5
92 #undef IPC_MESSAGE_ROUTED0 92 #undef IPC_MESSAGE_ROUTED0
93 #undef IPC_MESSAGE_ROUTED1 93 #undef IPC_MESSAGE_ROUTED1
94 #undef IPC_MESSAGE_ROUTED2 94 #undef IPC_MESSAGE_ROUTED2
95 #undef IPC_MESSAGE_ROUTED3 95 #undef IPC_MESSAGE_ROUTED3
96 #undef IPC_MESSAGE_ROUTED4 96 #undef IPC_MESSAGE_ROUTED4
97 #undef IPC_MESSAGE_ROUTED5 97 #undef IPC_MESSAGE_ROUTED5
98 #undef IPC_MESSAGE_ROUTED6 98 #undef IPC_MESSAGE_ROUTED6
99 #undef IPC_MESSAGE_ROUTED7
99 #undef IPC_SYNC_MESSAGE_CONTROL0_0 100 #undef IPC_SYNC_MESSAGE_CONTROL0_0
100 #undef IPC_SYNC_MESSAGE_CONTROL0_1 101 #undef IPC_SYNC_MESSAGE_CONTROL0_1
101 #undef IPC_SYNC_MESSAGE_CONTROL0_2 102 #undef IPC_SYNC_MESSAGE_CONTROL0_2
102 #undef IPC_SYNC_MESSAGE_CONTROL0_3 103 #undef IPC_SYNC_MESSAGE_CONTROL0_3
103 #undef IPC_SYNC_MESSAGE_CONTROL1_0 104 #undef IPC_SYNC_MESSAGE_CONTROL1_0
104 #undef IPC_SYNC_MESSAGE_CONTROL1_1 105 #undef IPC_SYNC_MESSAGE_CONTROL1_1
105 #undef IPC_SYNC_MESSAGE_CONTROL1_2 106 #undef IPC_SYNC_MESSAGE_CONTROL1_2
106 #undef IPC_SYNC_MESSAGE_CONTROL1_3 107 #undef IPC_SYNC_MESSAGE_CONTROL1_3
107 #undef IPC_SYNC_MESSAGE_CONTROL2_0 108 #undef IPC_SYNC_MESSAGE_CONTROL2_0
108 #undef IPC_SYNC_MESSAGE_CONTROL2_1 109 #undef IPC_SYNC_MESSAGE_CONTROL2_1
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 186
186 #define IPC_MESSAGE_ROUTED4(msg_class, type1, type2, type3, type4) \ 187 #define IPC_MESSAGE_ROUTED4(msg_class, type1, type2, type3, type4) \
187 msg_class##__ID, 188 msg_class##__ID,
188 189
189 #define IPC_MESSAGE_ROUTED5(msg_class, type1, type2, type3, type4, type5) \ 190 #define IPC_MESSAGE_ROUTED5(msg_class, type1, type2, type3, type4, type5) \
190 msg_class##__ID, 191 msg_class##__ID,
191 192
192 #define IPC_MESSAGE_ROUTED6(msg_class, type1, type2, type3, type4, type5, type6) \ 193 #define IPC_MESSAGE_ROUTED6(msg_class, type1, type2, type3, type4, type5, type6) \
193 msg_class##__ID, 194 msg_class##__ID,
194 195
196 #define IPC_MESSAGE_ROUTED7(msg_class, type1, type2, type3, type4, type5, type6, type7) \
197 msg_class##__ID,
198
195 #define IPC_SYNC_MESSAGE_CONTROL0_0(msg_class) \ 199 #define IPC_SYNC_MESSAGE_CONTROL0_0(msg_class) \
196 msg_class##__ID, 200 msg_class##__ID,
197 201
198 #define IPC_SYNC_MESSAGE_CONTROL0_1(msg_class, type1_out) \ 202 #define IPC_SYNC_MESSAGE_CONTROL0_1(msg_class, type1_out) \
199 msg_class##__ID, 203 msg_class##__ID,
200 204
201 #define IPC_SYNC_MESSAGE_CONTROL0_2(msg_class, type1_out, type2_out) \ 205 #define IPC_SYNC_MESSAGE_CONTROL0_2(msg_class, type1_out, type2_out) \
202 msg_class##__ID, 206 msg_class##__ID,
203 207
204 #define IPC_SYNC_MESSAGE_CONTROL0_3(msg_class, type1_out, type2_out, type3_out) \ 208 #define IPC_SYNC_MESSAGE_CONTROL0_3(msg_class, type1_out, type2_out, type3_out) \
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
458 462
459 #define IPC_MESSAGE_ROUTED4(msg_class, type1, type2, type3, type4) \ 463 #define IPC_MESSAGE_ROUTED4(msg_class, type1, type2, type3, type4) \
460 IPC_MESSAGE_LOG(msg_class) 464 IPC_MESSAGE_LOG(msg_class)
461 465
462 #define IPC_MESSAGE_ROUTED5(msg_class, type1, type2, type3, type4, type5) \ 466 #define IPC_MESSAGE_ROUTED5(msg_class, type1, type2, type3, type4, type5) \
463 IPC_MESSAGE_LOG(msg_class) 467 IPC_MESSAGE_LOG(msg_class)
464 468
465 #define IPC_MESSAGE_ROUTED6(msg_class, type1, type2, type3, type4, type5, type6) \ 469 #define IPC_MESSAGE_ROUTED6(msg_class, type1, type2, type3, type4, type5, type6) \
466 IPC_MESSAGE_LOG(msg_class) 470 IPC_MESSAGE_LOG(msg_class)
467 471
472 #define IPC_MESSAGE_ROUTED7(msg_class, type1, type2, type3, type4, type5, type6, type7) \
473 IPC_MESSAGE_LOG(msg_class)
474
468 #define IPC_SYNC_MESSAGE_CONTROL0_0(msg_class) \ 475 #define IPC_SYNC_MESSAGE_CONTROL0_0(msg_class) \
469 IPC_MESSAGE_LOG(msg_class) 476 IPC_MESSAGE_LOG(msg_class)
470 477
471 #define IPC_SYNC_MESSAGE_CONTROL0_1(msg_class, type1_out) \ 478 #define IPC_SYNC_MESSAGE_CONTROL0_1(msg_class, type1_out) \
472 IPC_MESSAGE_LOG(msg_class) 479 IPC_MESSAGE_LOG(msg_class)
473 480
474 #define IPC_SYNC_MESSAGE_CONTROL0_2(msg_class, type1_out, type2_out) \ 481 #define IPC_SYNC_MESSAGE_CONTROL0_2(msg_class, type1_out, type2_out) \
475 IPC_MESSAGE_LOG(msg_class) 482 IPC_MESSAGE_LOG(msg_class)
476 483
477 #define IPC_SYNC_MESSAGE_CONTROL0_3(msg_class, type1_out, type2_out, type3_out) \ 484 #define IPC_SYNC_MESSAGE_CONTROL0_3(msg_class, type1_out, type2_out, type3_out) \
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 public: \ 728 public: \
722 enum { ID = msg_class##__ID }; \ 729 enum { ID = msg_class##__ID }; \
723 msg_class(int32 routing_id, const type1& arg1, const type2& arg2, \ 730 msg_class(int32 routing_id, const type1& arg1, const type2& arg2, \
724 const type3& arg3, const type4& arg4, const type5& arg5, \ 731 const type3& arg3, const type4& arg4, const type5& arg5, \
725 const type6& arg6) \ 732 const type6& arg6) \
726 : IPC::MessageWithTuple< Tuple6<type1, type2, type3, type4, type5, \ 733 : IPC::MessageWithTuple< Tuple6<type1, type2, type3, type4, type5, \
727 type6> >( \ 734 type6> >( \
728 routing_id, ID, MakeRefTuple(arg1, arg2, arg3, arg4, arg5, arg6)) {} \ 735 routing_id, ID, MakeRefTuple(arg1, arg2, arg3, arg4, arg5, arg6)) {} \
729 }; 736 };
730 737
738 #define IPC_MESSAGE_ROUTED7(msg_class, type1, type2, type3, type4, type5, \
739 type6, type7) \
740 class msg_class : \
741 public IPC::MessageWithTuple< Tuple7<type1, type2, type3, type4, type5, \
742 type6, type7> > { \
743 public: \
744 enum { ID = msg_class##__ID }; \
745 msg_class(int32 routing_id, const type1& arg1, const type2& arg2, \
746 const type3& arg3, const type4& arg4, const type5& arg5, \
747 const type6& arg6, const type7& arg7) \
748 : IPC::MessageWithTuple< Tuple7<type1, type2, type3, type4, type5, \
749 type6, type7> >( \
750 routing_id, ID, MakeRefTuple(arg1, arg2, arg3, arg4, arg5, \
751 arg6, arg7)) {} \
752 };
753
731 #define IPC_SYNC_MESSAGE_CONTROL0_0(msg_class) \ 754 #define IPC_SYNC_MESSAGE_CONTROL0_0(msg_class) \
732 class msg_class : public IPC::MessageWithReply<Tuple0, Tuple0 > { \ 755 class msg_class : public IPC::MessageWithReply<Tuple0, Tuple0 > { \
733 public: \ 756 public: \
734 enum { ID = msg_class##__ID }; \ 757 enum { ID = msg_class##__ID }; \
735 msg_class() \ 758 msg_class() \
736 : IPC::MessageWithReply<Tuple0, Tuple0 >( \ 759 : IPC::MessageWithReply<Tuple0, Tuple0 >( \
737 MSG_ROUTING_CONTROL, ID, \ 760 MSG_ROUTING_CONTROL, ID, \
738 MakeTuple(), MakeTuple()) {} \ 761 MakeTuple(), MakeTuple()) {} \
739 }; 762 };
740 763
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after
1163 Tuple3<type1_out&, type2_out&, type3_out&> > { \ 1186 Tuple3<type1_out&, type2_out&, type3_out&> > { \
1164 public: \ 1187 public: \
1165 enum { ID = msg_class##__ID }; \ 1188 enum { ID = msg_class##__ID }; \
1166 msg_class(int routing_id, const type1_in& arg1, const type2_in& arg2, const type3_in& arg3, const type4_in& arg4, type1_out* arg5, type2_out* arg6, type3_ou t* arg7) \ 1189 msg_class(int routing_id, const type1_in& arg1, const type2_in& arg2, const type3_in& arg3, const type4_in& arg4, type1_out* arg5, type2_out* arg6, type3_ou t* arg7) \
1167 : IPC::MessageWithReply<Tuple4<type1_in, type2_in, type3_in, type4_in>, \ 1190 : IPC::MessageWithReply<Tuple4<type1_in, type2_in, type3_in, type4_in>, \
1168 Tuple3<type1_out&, type2_out&, type3_out&> >(routing_id, ID, \ 1191 Tuple3<type1_out&, type2_out&, type3_out&> >(routing_id, ID, \
1169 MakeRefTuple(arg1, arg2, arg3, arg4), MakeRefTuple(*arg5, *arg6, *arg7 )) {} \ 1192 MakeRefTuple(arg1, arg2, arg3, arg4), MakeRefTuple(*arg5, *arg6, *arg7 )) {} \
1170 }; 1193 };
1171 1194
1172 #endif // #if defined() 1195 #endif // #if defined()
OLDNEW
« no previous file with comments | « DEPS ('k') | chrome/common/ipc_message_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698