| 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 // Defines IPC messages used by Chromoting components. | 5 // Defines IPC messages used by Chromoting components. |
| 6 | 6 |
| 7 // Multiply-included message file, no traditional include guard. | 7 // Multiply-included message file, no traditional include guard. |
| 8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
| 9 #include "ipc/ipc_platform_file.h" | 9 #include "ipc/ipc_platform_file.h" |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 // by the receiver of the message. |desktop_process| is already duplicated by | 39 // by the receiver of the message. |desktop_process| is already duplicated by |
| 40 // the sender. | 40 // the sender. |
| 41 IPC_MESSAGE_CONTROL3(ChromotingDaemonNetworkMsg_DesktopAttached, | 41 IPC_MESSAGE_CONTROL3(ChromotingDaemonNetworkMsg_DesktopAttached, |
| 42 int /* terminal_id */, | 42 int /* terminal_id */, |
| 43 IPC::PlatformFileForTransit /* desktop_process */, | 43 IPC::PlatformFileForTransit /* desktop_process */, |
| 44 IPC::PlatformFileForTransit /* desktop_pipe */) | 44 IPC::PlatformFileForTransit /* desktop_pipe */) |
| 45 | 45 |
| 46 //----------------------------------------------------------------------------- | 46 //----------------------------------------------------------------------------- |
| 47 // Chromoting messages sent from the network to the daemon process. | 47 // Chromoting messages sent from the network to the daemon process. |
| 48 | 48 |
| 49 // Asks the daemon to send Secure Attention Sequence (SAS) to the current |
| 50 // console session. |
| 51 IPC_MESSAGE_CONTROL0(ChromotingNetworkDaemonMsg_SendSasToConsole) |
| 52 |
| 49 // Connects the terminal |terminal_id| (i.e. the remote client) to a desktop | 53 // Connects the terminal |terminal_id| (i.e. the remote client) to a desktop |
| 50 // session. | 54 // session. |
| 51 IPC_MESSAGE_CONTROL1(ChromotingNetworkHostMsg_ConnectTerminal, | 55 IPC_MESSAGE_CONTROL1(ChromotingNetworkHostMsg_ConnectTerminal, |
| 52 int /* terminal_id */) | 56 int /* terminal_id */) |
| 53 | 57 |
| 54 // Disconnects the terminal |terminal_id| from the desktop session it was | 58 // Disconnects the terminal |terminal_id| from the desktop session it was |
| 55 // connected to. | 59 // connected to. |
| 56 IPC_MESSAGE_CONTROL1(ChromotingNetworkHostMsg_DisconnectTerminal, | 60 IPC_MESSAGE_CONTROL1(ChromotingNetworkHostMsg_DisconnectTerminal, |
| 57 int /* terminal_id */) | 61 int /* terminal_id */) |
| 58 | 62 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 72 // Chromoting messages sent from the desktop to the daemon process. | 76 // Chromoting messages sent from the desktop to the daemon process. |
| 73 | 77 |
| 74 // Notifies the daemon that a desktop integration process has been initialized. | 78 // Notifies the daemon that a desktop integration process has been initialized. |
| 75 // |desktop_pipe| specifies the client end of the desktop pipe. It is to be | 79 // |desktop_pipe| specifies the client end of the desktop pipe. It is to be |
| 76 // forwarded to the desktop environment stub. | 80 // forwarded to the desktop environment stub. |
| 77 // | 81 // |
| 78 // Windows only: |desktop_pipe| has to be duplicated from the desktop process by | 82 // Windows only: |desktop_pipe| has to be duplicated from the desktop process by |
| 79 // the receiver of the message. | 83 // the receiver of the message. |
| 80 IPC_MESSAGE_CONTROL1(ChromotingDesktopDaemonMsg_DesktopAttached, | 84 IPC_MESSAGE_CONTROL1(ChromotingDesktopDaemonMsg_DesktopAttached, |
| 81 IPC::PlatformFileForTransit /* desktop_pipe */) | 85 IPC::PlatformFileForTransit /* desktop_pipe */) |
| OLD | NEW |