OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef REMOTING_HOST_CHROMOTING_MESSAGES_H_ | 5 #ifndef REMOTING_HOST_CHROMOTING_MESSAGES_H_ |
6 #define REMOTING_HOST_CHROMOTING_MESSAGES_H_ | 6 #define REMOTING_HOST_CHROMOTING_MESSAGES_H_ |
7 | 7 |
8 #include "ipc/ipc_platform_file.h" | 8 #include "ipc/ipc_platform_file.h" |
9 #include "net/base/ip_endpoint.h" | 9 #include "net/base/ip_endpoint.h" |
10 #include "remoting/host/chromoting_param_traits.h" | 10 #include "remoting/host/chromoting_param_traits.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 std::string /* jid */) | 105 std::string /* jid */) |
106 | 106 |
107 IPC_MESSAGE_CONTROL3(ChromotingNetworkDaemonMsg_ClientRouteChange, | 107 IPC_MESSAGE_CONTROL3(ChromotingNetworkDaemonMsg_ClientRouteChange, |
108 std::string /* jid */, | 108 std::string /* jid */, |
109 std::string /* channel_name */, | 109 std::string /* channel_name */, |
110 SerializedTransportRoute /* route */) | 110 SerializedTransportRoute /* route */) |
111 | 111 |
112 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_HostStarted, | 112 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_HostStarted, |
113 std::string /* xmpp_login */) | 113 std::string /* xmpp_login */) |
114 | 114 |
115 IPC_MESSAGE_CONTROL0(ChromotingNetworkDaemonMsg_HostShutdown) | 115 IPC_MESSAGE_CONTROL1(ChromotingNetworkDaemonMsg_HostShutdown, |
| 116 int /* exit_code */) |
116 | 117 |
117 //----------------------------------------------------------------------------- | 118 //----------------------------------------------------------------------------- |
118 // Chromoting messages sent from the desktop to the daemon process. | 119 // Chromoting messages sent from the desktop to the daemon process. |
119 | 120 |
120 // Notifies the daemon that a desktop integration process has been initialized. | 121 // Notifies the daemon that a desktop integration process has been initialized. |
121 // |desktop_pipe| specifies the client end of the desktop pipe. It is to be | 122 // |desktop_pipe| specifies the client end of the desktop pipe. It is to be |
122 // forwarded to the desktop environment stub. | 123 // forwarded to the desktop environment stub. |
123 // | 124 // |
124 // Windows only: |desktop_pipe| has to be duplicated from the desktop process by | 125 // Windows only: |desktop_pipe| has to be duplicated from the desktop process by |
125 // the receiver of the message. | 126 // the receiver of the message. |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 std::string /* serialized_event */ ) | 222 std::string /* serialized_event */ ) |
222 | 223 |
223 // Carries a touch event from the client to the desktop session agent. | 224 // Carries a touch event from the client to the desktop session agent. |
224 // |serialized_event| is a serialized protocol::TouchEvent. | 225 // |serialized_event| is a serialized protocol::TouchEvent. |
225 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectTouchEvent, | 226 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_InjectTouchEvent, |
226 std::string /* serialized_event */ ) | 227 std::string /* serialized_event */ ) |
227 | 228 |
228 // Changes the screen resolution in the desktop session. | 229 // Changes the screen resolution in the desktop session. |
229 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution, | 230 IPC_MESSAGE_CONTROL1(ChromotingNetworkDesktopMsg_SetScreenResolution, |
230 remoting::ScreenResolution /* resolution */) | 231 remoting::ScreenResolution /* resolution */) |
OLD | NEW |