Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6962)

Unified Diff: chrome/service/service_ipc_server.cc

Issue 6955010: Remove the Remoting Host component from Chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove an errant include. Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/service/service_ipc_server.h ('k') | chrome/service/service_process.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
« no previous file with comments | « chrome/service/service_ipc_server.h ('k') | chrome/service/service_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698