summaryrefslogtreecommitdiffstats
path: root/chrome/service
diff options
context:
space:
mode:
authorbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-28 17:02:58 +0000
committerbulach@chromium.org <bulach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-28 17:02:58 +0000
commitb6f52d36ec53d6e726f3dc0e89e90a5655d67ad6 (patch)
tree10c573db0490513193b4c0d85463faa1c9fc563e /chrome/service
parent9fc4140a01f320a5cfc11b020d8ac457a88fc0ca (diff)
downloadchromium_src-b6f52d36ec53d6e726f3dc0e89e90a5655d67ad6.zip
chromium_src-b6f52d36ec53d6e726f3dc0e89e90a5655d67ad6.tar.gz
chromium_src-b6f52d36ec53d6e726f3dc0e89e90a5655d67ad6.tar.bz2
Fixes service_process.cc when not using ENABLE_REMOTING flag.
BUG=none TEST=compiles without the flag Review URL: http://codereview.chromium.org/6598034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76222 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 22cfab6..6a8b689 100644
--- a/chrome/service/service_process.cc
+++ b/chrome/service/service_process.cc
@@ -239,9 +239,11 @@ bool ServiceProcess::Teardown() {
return true;
}
+#if defined(ENABLE_REMOTING)
static void QuitMessageLoop(MessageLoop* message_loop) {
message_loop->PostTask(FROM_HERE, new MessageLoop::QuitTask());
}
+#endif
// This method is called when a shutdown command is received from IPC channel
// or there was an error in the IPC channel.