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

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

Issue 39206: NO CODE CHANGE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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 | « chrome/common/ipc_sync_message.cc ('k') | chrome/common/ipc_sync_message_unittest.cc » ('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 #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(Test)
8 IPC_SYNC_MESSAGE_CONTROL0_0(SyncChannelTestMsg_NoArgs) 8 IPC_SYNC_MESSAGE_CONTROL0_0(SyncChannelTestMsg_NoArgs)
9 9
10 IPC_SYNC_MESSAGE_CONTROL0_1(SyncChannelTestMsg_AnswerToLife, 10 IPC_SYNC_MESSAGE_CONTROL0_1(SyncChannelTestMsg_AnswerToLife,
(...skipping 26 matching lines...) Expand all
37 37
38 // in1 must be false, in2 must be 2, out1 is true, out2 is 22 38 // in1 must be false, in2 must be 2, out1 is true, out2 is 22
39 IPC_SYNC_MESSAGE_CONTROL2_2(Msg_C_2_2, bool, int, bool, int) 39 IPC_SYNC_MESSAGE_CONTROL2_2(Msg_C_2_2, bool, int, bool, int)
40 40
41 // in1 must be 3, in2 must be true, out1 is "2_3", out2 is 23, out3 is false 41 // in1 must be 3, in2 must be true, out1 is "2_3", out2 is 23, out3 is false
42 IPC_SYNC_MESSAGE_CONTROL2_3(Msg_C_2_3, int, bool, std::string, int, bool) 42 IPC_SYNC_MESSAGE_CONTROL2_3(Msg_C_2_3, int, bool, std::string, int, bool)
43 43
44 // in1 must be 1, in2 must be false, in3 must be "3_1", out1 is true 44 // in1 must be 1, in2 must be false, in3 must be "3_1", out1 is true
45 IPC_SYNC_MESSAGE_CONTROL3_1(Msg_C_3_1, int, bool, std::string, bool) 45 IPC_SYNC_MESSAGE_CONTROL3_1(Msg_C_3_1, int, bool, std::string, bool)
46 46
47 // in1 must be "3_3", in2 must be false, in3 must be 2, out1 is true, out2 is 32 47 // in1 must be "3_3", in2 must be false, in3 must be 2, out1 is true, out2 is
48 // 32
48 IPC_SYNC_MESSAGE_CONTROL3_2(Msg_C_3_2, std::string, bool, int, bool, int) 49 IPC_SYNC_MESSAGE_CONTROL3_2(Msg_C_3_2, std::string, bool, int, bool, int)
49 50
50 // in1 must be 3, in2 must be "3_3", in3 must be true, out1 is "3_3", out2 is 33, out3 is false 51 // in1 must be 3, in2 must be "3_3", in3 must be true, out1 is "3_3", out2 is
51 IPC_SYNC_MESSAGE_CONTROL3_3(Msg_C_3_3, int, std::string, bool, std::string, in t, bool) 52 // 33, out3 is false
53 IPC_SYNC_MESSAGE_CONTROL3_3(Msg_C_3_3, int, std::string, bool, std::string,
54 int, bool)
52 55
53 56
54 // NOTE: routed messages are just a copy of the above... 57 // NOTE: routed messages are just a copy of the above...
55 58
56 // out1 is false 59 // out1 is false
57 IPC_SYNC_MESSAGE_ROUTED0_1(Msg_R_0_1, bool) 60 IPC_SYNC_MESSAGE_ROUTED0_1(Msg_R_0_1, bool)
58 61
59 // out1 is true, out2 is 2 62 // out1 is true, out2 is 2
60 IPC_SYNC_MESSAGE_ROUTED0_2(Msg_R_0_2, bool, int) 63 IPC_SYNC_MESSAGE_ROUTED0_2(Msg_R_0_2, bool, int)
61 64
(...skipping 14 matching lines...) Expand all
76 79
77 // in1 must be false, in2 must be 2, out1 is true, out2 is 22 80 // in1 must be false, in2 must be 2, out1 is true, out2 is 22
78 IPC_SYNC_MESSAGE_ROUTED2_2(Msg_R_2_2, bool, int, bool, int) 81 IPC_SYNC_MESSAGE_ROUTED2_2(Msg_R_2_2, bool, int, bool, int)
79 82
80 // in1 must be 3, in2 must be true, out1 is "2_3", out2 is 23, out3 is false 83 // in1 must be 3, in2 must be true, out1 is "2_3", out2 is 23, out3 is false
81 IPC_SYNC_MESSAGE_ROUTED2_3(Msg_R_2_3, int, bool, std::string, int, bool) 84 IPC_SYNC_MESSAGE_ROUTED2_3(Msg_R_2_3, int, bool, std::string, int, bool)
82 85
83 // in1 must be 1, in2 must be false, in3 must be "3_1", out1 is true 86 // in1 must be 1, in2 must be false, in3 must be "3_1", out1 is true
84 IPC_SYNC_MESSAGE_ROUTED3_1(Msg_R_3_1, int, bool, std::string, bool) 87 IPC_SYNC_MESSAGE_ROUTED3_1(Msg_R_3_1, int, bool, std::string, bool)
85 88
86 // in1 must be "3_3", in2 must be false, in3 must be 2, out1 is true, out2 is 32 89 // in1 must be "3_3", in2 must be false, in3 must be 2, out1 is true, out2
90 // is 32
87 IPC_SYNC_MESSAGE_ROUTED3_2(Msg_R_3_2, std::string, bool, int, bool, int) 91 IPC_SYNC_MESSAGE_ROUTED3_2(Msg_R_3_2, std::string, bool, int, bool, int)
88 92
89 // in1 must be 3, in2 must be "3_3", in3 must be true, out1 is "3_3", out2 is 33, out3 is false 93 // in1 must be 3, in2 must be "3_3", in3 must be true, out1 is "3_3", out2 is
90 IPC_SYNC_MESSAGE_ROUTED3_3(Msg_R_3_3, int, std::string, bool, std::string, int , bool) 94 // 33, out3 is false
95 IPC_SYNC_MESSAGE_ROUTED3_3(Msg_R_3_3, int, std::string, bool, std::string,
96 int, bool)
91 97
92 IPC_END_MESSAGES(TestMsg) 98 IPC_END_MESSAGES(TestMsg)
93 99
OLDNEW
« no previous file with comments | « chrome/common/ipc_sync_message.cc ('k') | chrome/common/ipc_sync_message_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698