summaryrefslogtreecommitdiffstats
path: root/chrome/service/service_process.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/service/service_process.cc')
-rw-r--r--chrome/service/service_process.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/service/service_process.cc b/chrome/service/service_process.cc
index 2a6f069..6660c29 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -121,10 +121,12 @@ bool ServiceProcess::Initialize(MessageLoop* message_loop,
values->GetBoolean(prefs::kRemotingHostEnabled, &remoting_host_enabled);
remoting_host_enabled |= command_line.HasSwitch(switches::kEnableRemoting);
+#if defined(ENABLE_REMOTING)
// Check if remoting host is already enabled.
if (remoting_host_enabled) {
StartChromotingHost();
}
+#endif
// Enable Cloud Print if needed. First check the command-line.
bool cloud_print_proxy_enabled =