Chromium Code Reviews| Index: remoting/host/chromoting_messages.h |
| diff --git a/remoting/host/chromoting_messages.h b/remoting/host/chromoting_messages.h |
| index db17927c5ab3d37be6640901ccc593ee5580f2c1..7e5c5513a2b3a5aa0f3c9067ca4ef9ed1c6a7ed8 100644 |
| --- a/remoting/host/chromoting_messages.h |
| +++ b/remoting/host/chromoting_messages.h |
| @@ -8,6 +8,7 @@ |
| #include <stdint.h> |
| #include "base/memory/shared_memory_handle.h" |
| +#include "ipc/ipc_channel_handle.h" |
| #include "ipc/ipc_platform_file.h" |
| #include "remoting/host/chromoting_param_traits.h" |
| #include "remoting/host/screen_resolution.h" |
| @@ -56,14 +57,9 @@ IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_TerminalDisconnected, |
| // a desktop integration process. |desktop_process| is the handle of the desktop |
|
joedow
2016/10/31 16:41:03
Remove |desktop_process| comment since the paramet
Sam McNally
2016/10/31 22:34:27
Done.
|
| // process. |desktop_pipe| is the client end of the desktop-to-network pipe |
| // opened. |
| -// |
| -// Windows only: |desktop_pipe| has to be duplicated from the desktop process |
| -// by the receiver of the message. |desktop_process| is already duplicated by |
| -// the sender. |
| -IPC_MESSAGE_CONTROL3(ChromotingDaemonNetworkMsg_DesktopAttached, |
| +IPC_MESSAGE_CONTROL2(ChromotingDaemonNetworkMsg_DesktopAttached, |
| int /* terminal_id */, |
| - base::ProcessHandle /* desktop_process */, |
| - IPC::PlatformFileForTransit /* desktop_pipe */) |
| + IPC::ChannelHandle /* desktop_pipe */) |
| //----------------------------------------------------------------------------- |
| // Chromoting messages sent from the network to the daemon process. |
| @@ -127,11 +123,8 @@ IPC_MESSAGE_CONTROL0(ChromotingNetworkDaemonMsg_HostShutdown) |
| // Notifies the daemon that a desktop integration process has been initialized. |
| // |desktop_pipe| specifies the client end of the desktop pipe. It is to be |
| // forwarded to the desktop environment stub. |
| -// |
| -// Windows only: |desktop_pipe| has to be duplicated from the desktop process by |
| -// the receiver of the message. |
| IPC_MESSAGE_CONTROL1(ChromotingDesktopDaemonMsg_DesktopAttached, |
| - IPC::PlatformFileForTransit /* desktop_pipe */) |
| + IPC::ChannelHandle /* desktop_pipe */) |
| // Asks the daemon to inject Secure Attention Sequence (SAS) in the session |
| // where the desktop process is running. |