Chromium Code Reviews| Index: chrome/common/service_messages_internal.h |
| diff --git a/chrome/common/service_messages_internal.h b/chrome/common/service_messages_internal.h |
| index e5ae7b35b7e7279fb1cf569b6f502685cd3cbe80..3e6a8c43433aa5e43f446aa6f2a42d99e757a144 100644 |
| --- a/chrome/common/service_messages_internal.h |
| +++ b/chrome/common/service_messages_internal.h |
| @@ -6,6 +6,8 @@ |
| #include "ipc/ipc_message_macros.h" |
| +#include "chrome/common/remoting/chromoting_host_info.h" |
| + |
| #define IPC_MESSAGE_START ServiceMsgStart |
| //------------------------------------------------------------------------------ |
| @@ -30,11 +32,19 @@ IPC_MESSAGE_CONTROL0(ServiceMsg_IsCloudPrintProxyEnabled) |
| // This message is for testing purpose. |
| IPC_MESSAGE_CONTROL0(ServiceMsg_Hello) |
| -// This message is for enabling the remoting process. |
| -IPC_MESSAGE_CONTROL3(ServiceMsg_EnableRemotingWithTokens, |
| +// Set credentials used by the ChromotingHost. |
| +IPC_MESSAGE_CONTROL2(ServiceMsg_SetChromotingHostCredentials, |
| std::string, /* username */ |
| - std::string, /* Token for remoting */ |
| - std::string /* Token for Google Talk */) |
| + std::string /* token for XMPP */) |
| + |
| +// Enabled chromoting host. |
| +IPC_MESSAGE_CONTROL0(ServiceMsg_EnableChromotingHost) |
| + |
| +// Disable chromoting host. |
| +IPC_MESSAGE_CONTROL0(ServiceMsg_DisableChromotingHost) |
| + |
| +// Get chromoting host status information. |
| +IPC_MESSAGE_CONTROL0(ServiceMsg_GetChromotingHostInfo) |
| // Tell the service process to shutdown. |
| IPC_MESSAGE_CONTROL0(ServiceMsg_Shutdown) |
| @@ -53,5 +63,8 @@ IPC_MESSAGE_CONTROL2(ServiceHostMsg_CloudPrintProxy_IsEnabled, |
| bool, /* Is the proxy enabled? */ |
| std::string /* Email address of account */) |
|
Alpha Left Google
2010/12/16 21:32:44
Add a message here so we get response of chromotin
|
| +IPC_MESSAGE_CONTROL1(ServiceHostMsg_ChromotingHost_HostInfo, |
| + remoting::ChromotingHostInfo /* host_info */) |
| + |
| // Sent from the service process in response to a Hello message. |
| IPC_MESSAGE_CONTROL0(ServiceHostMsg_GoodDay) |