OLD | NEW |
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 #include "chrome/common/ipc_message_macros.h" | 5 #include "chrome/common/ipc_message_macros.h" |
6 | 6 |
7 IPC_BEGIN_MESSAGES(Test) | 7 IPC_BEGIN_MESSAGES(TestMsg, 8) |
8 IPC_SYNC_MESSAGE_CONTROL0_0(SyncChannelTestMsg_NoArgs) | |
9 | |
10 IPC_SYNC_MESSAGE_CONTROL0_1(SyncChannelTestMsg_AnswerToLife, | |
11 int /* answer */) | |
12 | |
13 IPC_SYNC_MESSAGE_CONTROL1_1(SyncChannelTestMsg_Double, | |
14 int /* in */, | |
15 int /* out */) | |
16 | |
17 // out1 is false | 8 // out1 is false |
18 IPC_SYNC_MESSAGE_CONTROL0_1(Msg_C_0_1, bool) | 9 IPC_SYNC_MESSAGE_CONTROL0_1(Msg_C_0_1, bool) |
19 | 10 |
20 // out1 is true, out2 is 2 | 11 // out1 is true, out2 is 2 |
21 IPC_SYNC_MESSAGE_CONTROL0_2(Msg_C_0_2, bool, int) | 12 IPC_SYNC_MESSAGE_CONTROL0_2(Msg_C_0_2, bool, int) |
22 | 13 |
23 // out1 is false, out2 is 3, out3 is "0_3" | 14 // out1 is false, out2 is 3, out3 is "0_3" |
24 IPC_SYNC_MESSAGE_CONTROL0_3(Msg_C_0_3, bool, int, std::string) | 15 IPC_SYNC_MESSAGE_CONTROL0_3(Msg_C_0_3, bool, int, std::string) |
25 | 16 |
26 // in1 must be 1, out1 is true | 17 // in1 must be 1, out1 is true |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 IPC_SYNC_MESSAGE_ROUTED3_1(Msg_R_3_1, int, bool, std::string, bool) | 75 IPC_SYNC_MESSAGE_ROUTED3_1(Msg_R_3_1, int, bool, std::string, bool) |
85 | 76 |
86 // in1 must be "3_3", in2 must be false, in3 must be 2, out1 is true, out2 is
32 | 77 // in1 must be "3_3", in2 must be false, in3 must be 2, out1 is true, out2 is
32 |
87 IPC_SYNC_MESSAGE_ROUTED3_2(Msg_R_3_2, std::string, bool, int, bool, int) | 78 IPC_SYNC_MESSAGE_ROUTED3_2(Msg_R_3_2, std::string, bool, int, bool, int) |
88 | 79 |
89 // in1 must be 3, in2 must be "3_3", in3 must be true, out1 is "3_3", out2 is
33, out3 is false | 80 // in1 must be 3, in2 must be "3_3", in3 must be true, out1 is "3_3", out2 is
33, out3 is false |
90 IPC_SYNC_MESSAGE_ROUTED3_3(Msg_R_3_3, int, std::string, bool, std::string, int
, bool) | 81 IPC_SYNC_MESSAGE_ROUTED3_3(Msg_R_3_3, int, std::string, bool, std::string, int
, bool) |
91 | 82 |
92 IPC_END_MESSAGES(TestMsg) | 83 IPC_END_MESSAGES(TestMsg) |
93 | 84 |
OLD | NEW |