summaryrefslogtreecommitdiffstats
path: root/chrome/service
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-05 09:22:47 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-05 09:22:47 +0000
commitdaad332fe27349d8f315b821da27144e5550c1b1 (patch)
treea10101e4e5e9769a224fe772f6fb4b55f64e2224 /chrome/service
parentfdd94a02f3eeeaff9c13c4fb83b13734cca69859 (diff)
downloadchromium_src-daad332fe27349d8f315b821da27144e5550c1b1.zip
chromium_src-daad332fe27349d8f315b821da27144e5550c1b1.tar.gz
chromium_src-daad332fe27349d8f315b821da27144e5550c1b1.tar.bz2
Fix build failure with -Dremoting=0
Patch by Mike Glibert. Original review: http://codereview.chromium.org/4416001 BUG=61797 TEST=Build with -Dremoting=0 Review URL: http://codereview.chromium.org/4570001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/service')
-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 =