// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Defines IPC messages used by Chromoting components. // Multiply-included message file, no traditional include guard. #include "ipc/ipc_message_macros.h" #define IPC_MESSAGE_START ChromotingMsgStart //----------------------------------------------------------------------------- // Chromoting messages sent from the daemon to the network process. // Delivers the host configuration (and updates) to the network process. IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_Configuration, std::string) // Notifies the network process that the terminal |terminal_id| has been // disconnected from the desktop session. IPC_MESSAGE_CONTROL1(ChromotingDaemonNetworkMsg_TerminalDisconnected, int /* terminal_id */) //----------------------------------------------------------------------------- // Chromoting messages sent from the network to the daemon process. // Connects the terminal |terminal_id| (i.e. the remote client) to a desktop // session. IPC_MESSAGE_CONTROL1(ChromotingNetworkHostMsg_ConnectTerminal, int /* terminal_id */) // Disconnects the terminal |terminal_id| from the desktop session it was // connected to. IPC_MESSAGE_CONTROL1(ChromotingNetworkHostMsg_DisconnectTerminal, int /* terminal_id */)