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 // 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 30 matching lines...) Expand all Loading... |
41 // Send(reply_msg); | 41 // Send(reply_msg); |
42 | 42 |
43 #include "ipc/ipc_message_utils.h" | 43 #include "ipc/ipc_message_utils.h" |
44 | 44 |
45 | 45 |
46 #ifndef MESSAGES_INTERNAL_FILE | 46 #ifndef MESSAGES_INTERNAL_FILE |
47 #error This file should only be included by X_messages.h, which needs to define\ | 47 #error This file should only be included by X_messages.h, which needs to define\ |
48 MESSAGES_INTERNAL_FILE first. | 48 MESSAGES_INTERNAL_FILE first. |
49 #endif | 49 #endif |
50 | 50 |
51 // Trick scons and xcode into seeing the possible real dependencies since they | 51 // Trick xcode into seeing the possible real dependencies since they |
52 // don't understand #include MESSAGES_INTERNAL_FILE. See http://crbug.com/7828 | 52 // don't understand #include MESSAGES_INTERNAL_FILE. See http://crbug.com/7828 |
53 #if 0 | 53 #if 0 |
54 #include "ipc/ipc_sync_message_unittest.h" | 54 #include "ipc/ipc_sync_message_unittest.h" |
55 #include "chrome/common/automation_messages_internal.h" | 55 #include "chrome/common/automation_messages_internal.h" |
56 #include "chrome/common/devtools_messages_internal.h" | 56 #include "chrome/common/devtools_messages_internal.h" |
57 #include "chrome/common/plugin_messages_internal.h" | 57 #include "chrome/common/plugin_messages_internal.h" |
58 #include "chrome/common/render_messages_internal.h" | 58 #include "chrome/common/render_messages_internal.h" |
59 #include "chrome/common/worker_messages_internal.h" | 59 #include "chrome/common/worker_messages_internal.h" |
60 #include "ppapi/proxy/ppapi_messages_internal.h" | 60 #include "ppapi/proxy/ppapi_messages_internal.h" |
61 #endif | 61 #endif |
(...skipping 1261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1323 public IPC::MessageWithReply<Tuple5<type1_in, type2_in, type3_in, type4_in
, type5_in>, \ | 1323 public IPC::MessageWithReply<Tuple5<type1_in, type2_in, type3_in, type4_in
, type5_in>, \ |
1324 Tuple3<type1_out&, type2_out&, type3_out&> > { \ | 1324 Tuple3<type1_out&, type2_out&, type3_out&> > { \ |
1325 public: \ | 1325 public: \ |
1326 enum { ID = msg_class##__ID }; \ | 1326 enum { ID = msg_class##__ID }; \ |
1327 msg_class(int routing_id, const type1_in& arg1, const type2_in& arg2, const t
ype3_in& arg3, const type4_in& arg4, const type4_in& arg5, type1_out* arg6, type
2_out* arg7, type3_out* arg8); \ | 1327 msg_class(int routing_id, const type1_in& arg1, const type2_in& arg2, const t
ype3_in& arg3, const type4_in& arg4, const type4_in& arg5, type1_out* arg6, type
2_out* arg7, type3_out* arg8); \ |
1328 ~msg_class(); \ | 1328 ~msg_class(); \ |
1329 static void Log(const Message* msg, std::string* l); \ | 1329 static void Log(const Message* msg, std::string* l); \ |
1330 }; | 1330 }; |
1331 | 1331 |
1332 #endif // #if defined() | 1332 #endif // #if defined() |
OLD | NEW |