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-06-28 23:12:46 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-06-28 23:12:46 +0000
commite131f48d85f2a5635d1e2507d337ac401e908bfb (patch)
treed588145efa2ed7319321b5a86285e7aa5603f5af /remoting/jingle_glue/signal_strategy.h
parent58b916e04fe4cfb95b014af729bd5a509e0953da (diff)
downloadchromium_src-e131f48d85f2a5635d1e2507d337ac401e908bfb.zip
chromium_src-e131f48d85f2a5635d1e2507d337ac401e908bfb.tar.gz
chromium_src-e131f48d85f2a5635d1e2507d337ac401e908bfb.tar.bz2
Add IDs to outgoing Iq stanzas.
BUG=None TEST=Messages sent from client to host have valid IDs. Review URL: http://codereview.chromium.org/7276021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90864 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue/signal_strategy.h')
-rw-r--r--remoting/jingle_glue/signal_strategy.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/remoting/jingle_glue/signal_strategy.h b/remoting/jingle_glue/signal_strategy.h
index d59341e..3d0a559 100644
--- a/remoting/jingle_glue/signal_strategy.h
+++ b/remoting/jingle_glue/signal_strategy.h
@@ -52,6 +52,12 @@ class SignalStrategy {
// Sends a raw XMPP stanza. Takes ownership of the |stanza|.
virtual void SendStanza(buzz::XmlElement* stanza) = 0;
+ // Returns new ID that should be used for the next outgoing IQ
+ // request.
+ virtual std::string GetNextId() = 0;
+
+ // TODO(sergeyu): Do we really need this method to be part of this
+ // interface?
virtual IqRequest* CreateIqRequest() = 0;
private: