summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/signal_strategy.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-03 21:07:29 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-03 21:07:29 +0000
commit3db8bb08078f239887acebad75af1e32f4c7d601 (patch)
tree4527af94935e56695227e0038ea699712255029c /remoting/jingle_glue/signal_strategy.h
parent1ba39c0011aa0a09843d6d8b8c092839d45b87ed (diff)
downloadchromium_src-3db8bb08078f239887acebad75af1e32f4c7d601.zip
chromium_src-3db8bb08078f239887acebad75af1e32f4c7d601.tar.gz
chromium_src-3db8bb08078f239887acebad75af1e32f4c7d601.tar.bz2
Return correct value from XmppSignalStrategy::HandleStanza()
BUG=91531 TEST=Connection always works. Review URL: http://codereview.chromium.org/7564024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue/signal_strategy.h')
-rw-r--r--remoting/jingle_glue/signal_strategy.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/jingle_glue/signal_strategy.h b/remoting/jingle_glue/signal_strategy.h
index 3d0a559..1f90d03 100644
--- a/remoting/jingle_glue/signal_strategy.h
+++ b/remoting/jingle_glue/signal_strategy.h
@@ -35,7 +35,8 @@ class SignalStrategy {
class Listener {
public:
- virtual void OnIncomingStanza(const buzz::XmlElement* stanza) = 0;
+ // Must return true if the stanza was handled, false otherwise.
+ virtual bool OnIncomingStanza(const buzz::XmlElement* stanza) = 0;
};
SignalStrategy() {}