| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/memory/shared_memory_handle.h" | 10 #include "base/memory/shared_memory_handle.h" |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 IPC_MESSAGE_CONTROL2(ChromotingDaemonNetworkMsg_InitializePairingRegistry, | 47 IPC_MESSAGE_CONTROL2(ChromotingDaemonNetworkMsg_InitializePairingRegistry, |
| 48 IPC::PlatformFileForTransit /* privileged_key */, | 48 IPC::PlatformFileForTransit /* privileged_key */, |
| 49 IPC::PlatformFileForTransit /* unprivileged_key */) | 49 IPC::PlatformFileForTransit /* unprivileged_key */) |
| 50 | 50 |
| 51 // Notifies the network process that the terminal |terminal_id| has been | 51 // Notifies the network process that the terminal |terminal_id| has been |
| 52 // disconnected from the desktop session. | 52 // disconnected from the desktop session. |
| 53 IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_TerminalDisconnected, | 53 IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_TerminalDisconnected, |
| 54 int /* terminal_id */) | 54 int /* terminal_id */) |
| 55 | 55 |
| 56 // Notifies the network process that |terminal_id| is now attached to | 56 // Notifies the network process that |terminal_id| is now attached to |
| 57 // a desktop integration process. |desktop_pipe| is the client end of the | 57 // a desktop integration process. |session_id| is the id of the desktop session |
| 58 // desktop-to-network pipe opened. | 58 // being attached. |desktop_pipe| is the client end of the desktop-to-network |
| 59 IPC_MESSAGE_CONTROL2(ChromotingDaemonNetworkMsg_DesktopAttached, | 59 // pipe opened. |
| 60 IPC_MESSAGE_CONTROL3(ChromotingDaemonNetworkMsg_DesktopAttached, |
| 60 int /* terminal_id */, | 61 int /* terminal_id */, |
| 62 int /* session_id */, |
| 61 IPC::ChannelHandle /* desktop_pipe */) | 63 IPC::ChannelHandle /* desktop_pipe */) |
| 62 | 64 |
| 63 //----------------------------------------------------------------------------- | 65 //----------------------------------------------------------------------------- |
| 64 // Chromoting messages sent from the network to the daemon process. | 66 // Chromoting messages sent from the network to the daemon process. |
| 65 | 67 |
| 66 // Connects the terminal |terminal_id| (i.e. a remote client) to a desktop | 68 // Connects the terminal |terminal_id| (i.e. a remote client) to a desktop |
| 67 // session. | 69 // session. |
| 68 IPC_MESSAGE_CONTROL3(ChromotingNetworkHostMsg_ConnectTerminal, | 70 IPC_MESSAGE_CONTROL3(ChromotingNetworkHostMsg_ConnectTerminal, |
| 69 int /* terminal_id */, | 71 int /* terminal_id */, |
| 70 remoting::ScreenResolution /* resolution */, | 72 remoting::ScreenResolution /* resolution */, |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 263 |
| 262 // The IPC channel path for this remote_security_key connection. This message | 264 // The IPC channel path for this remote_security_key connection. This message |
| 263 // is sent from the well-known IPC server channel. | 265 // is sent from the well-known IPC server channel. |
| 264 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionDetails, | 266 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_ConnectionDetails, |
| 265 std::string /* IPC Server path */) | 267 std::string /* IPC Server path */) |
| 266 | 268 |
| 267 // The array of bytes representing a security key response from the remote | 269 // The array of bytes representing a security key response from the remote |
| 268 // client. This message is sent over the per-client IPC channel. | 270 // client. This message is sent over the per-client IPC channel. |
| 269 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response, | 271 IPC_MESSAGE_CONTROL1(ChromotingNetworkToRemoteSecurityKeyMsg_Response, |
| 270 std::string /* response bytes */) | 272 std::string /* response bytes */) |
| OLD | NEW |