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