OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 // IPC messages for mojo. | 5 // IPC messages for mojo. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/public/common/common_param_traits.h" | 9 #include "content/public/common/common_param_traits.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
11 #include "ipc/ipc_message_utils.h" | 11 #include "ipc/ipc_message_utils.h" |
12 #include "ipc/ipc_param_traits.h" | 12 #include "ipc/ipc_param_traits.h" |
13 #include "ipc/ipc_platform_file.h" | 13 #include "ipc/ipc_platform_file.h" |
14 #include "ipc/param_traits_macros.h" | 14 #include "ipc/param_traits_macros.h" |
15 | 15 |
16 #undef IPC_MESSAGE_EXPORT | 16 #undef IPC_MESSAGE_EXPORT |
17 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 17 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
18 #define IPC_MESSAGE_START MojoMsgStart | 18 #define IPC_MESSAGE_START MojoMsgStart |
19 | 19 |
20 // Mojo IPC is bootstrapped over Chrome IPC via this message. | 20 // Mojo IPC is bootstrapped over Chrome IPC via this message. |
21 IPC_MESSAGE_CONTROL1(MojoMsg_Activate, | 21 IPC_MESSAGE_CONTROL1(MojoMsg_Activate, |
22 IPC::PlatformFileForTransit /* handle */) | 22 IPC::PlatformFileForTransit /* handle */) |
23 | |
24 // Mojo IPC to an external shell is bootstrapped over Chrome IPC via this | |
25 // message. | |
26 IPC_MESSAGE_CONTROL1(MojoMsg_BindExternalMojoShellHandle, | |
27 IPC::PlatformFileForTransit /* handle */) | |
OLD | NEW |