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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" |
11 #include "ipc/ipc_message_macros.h" | 11 #include "ipc/ipc_message_macros.h" |
12 #include "ipc/ipc_message_utils.h" | 12 #include "ipc/ipc_message_utils.h" |
13 #include "ipc/ipc_param_traits.h" | 13 #include "ipc/ipc_param_traits.h" |
14 #include "ipc/ipc_platform_file.h" | 14 #include "ipc/ipc_platform_file.h" |
15 #include "ipc/param_traits_macros.h" | 15 #include "ipc/param_traits_macros.h" |
16 | 16 |
17 #undef IPC_MESSAGE_EXPORT | 17 #undef IPC_MESSAGE_EXPORT |
18 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 18 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
19 #define IPC_MESSAGE_START MojoMsgStart | 19 #define IPC_MESSAGE_START MojoMsgStart |
20 | 20 |
21 // Mojo IPC is bootstrapped over Chrome IPC via this message. | 21 // Mojo IPC is bootstrapped over Chrome IPC via this message. |
22 IPC_MESSAGE_CONTROL1(MojoMsg_Activate, | 22 IPC_MESSAGE_CONTROL1(MojoMsg_Activate, |
23 IPC::PlatformFileForTransit /* handle */) | 23 IPC::PlatformFileForTransit /* handle */) |
24 | 24 |
25 // Mojo IPC to an external shell is bootstrapped over Chrome IPC via this | 25 // Mojo IPC to an external shell is bootstrapped over Chrome IPC via this |
26 // message. | 26 // message. |
27 IPC_MESSAGE_CONTROL1(MojoMsg_BindExternalMojoShellHandle, | 27 IPC_MESSAGE_CONTROL1(MojoMsg_BindExternalMojoShellHandle, |
28 IPC::PlatformFileForTransit /* handle */) | 28 IPC::PlatformFileForTransit /* handle */) |
29 | |
30 // Tells the browser that this process is ready to receive mojo connections. | |
Fady Samuel
2015/11/24 04:42:38
Revert this.
| |
31 IPC_MESSAGE_CONTROL0(MojoHostMsg_MojoReady) | |
OLD | NEW |