Index: chrome/service/service_ipc_server.cc |
diff --git a/chrome/service/service_ipc_server.cc b/chrome/service/service_ipc_server.cc |
index ffab169438ec93cd12bbbdd95920d67762ee28e6..493831e66c43e6b44c9cee98a562375ff926bf50 100644 |
--- a/chrome/service/service_ipc_server.cc |
+++ b/chrome/service/service_ipc_server.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 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. |
@@ -107,16 +107,6 @@ bool ServiceIPCServer::OnMessageReceived(const IPC::Message& msg) { |
OnDisableCloudPrintProxy) |
IPC_MESSAGE_HANDLER(ServiceMsg_IsCloudPrintProxyEnabled, |
OnIsCloudPrintProxyEnabled) |
-#if defined(ENABLE_REMOTING) |
- IPC_MESSAGE_HANDLER(ServiceMsg_SetRemotingHostCredentials, |
- OnSetRemotingHostCredentials) |
- IPC_MESSAGE_HANDLER(ServiceMsg_EnableRemotingHost, |
- OnEnableRemotingHost) |
- IPC_MESSAGE_HANDLER(ServiceMsg_DisableRemotingHost, |
- OnDisableRemotingHost) |
- IPC_MESSAGE_HANDLER(ServiceMsg_GetRemotingHostInfo, |
- OnGetRemotingHostInfo) |
-#endif // defined(ENABLE_REMOTING) |
IPC_MESSAGE_HANDLER(ServiceMsg_Shutdown, OnShutdown); |
IPC_MESSAGE_HANDLER(ServiceMsg_UpdateAvailable, OnUpdateAvailable); |
IPC_MESSAGE_UNHANDLED(handled = false) |
@@ -141,35 +131,6 @@ void ServiceIPCServer::OnIsCloudPrintProxyEnabled() { |
email)); |
} |
-#if defined(ENABLE_REMOTING) |
-void ServiceIPCServer::OnSetRemotingHostCredentials( |
- const std::string& login, |
- const std::string& auth_token) { |
- g_service_process->remoting_host_manager()->SetCredentials( |
- login, auth_token); |
-} |
- |
-void ServiceIPCServer::OnEnableRemotingHost() { |
- g_service_process->remoting_host_manager()->Enable(); |
- SendRemotingHostInfo(); |
-} |
- |
-void ServiceIPCServer::OnDisableRemotingHost() { |
- g_service_process->remoting_host_manager()->Disable(); |
- SendRemotingHostInfo(); |
-} |
- |
-void ServiceIPCServer::OnGetRemotingHostInfo() { |
- SendRemotingHostInfo(); |
-} |
- |
-void ServiceIPCServer::SendRemotingHostInfo() { |
- remoting::ChromotingHostInfo host_info; |
- g_service_process->remoting_host_manager()->GetHostInfo(&host_info); |
- channel_->Send(new ServiceHostMsg_RemotingHost_HostInfo(host_info)); |
-} |
-#endif // defined(ENABLE_REMOTING) |
- |
void ServiceIPCServer::OnDisableCloudPrintProxy() { |
g_service_process->GetCloudPrintProxy()->DisableForUser(); |
} |