summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/iq_request.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 23:04:05 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-04 23:04:05 +0000
commitcdf8c57cbf1d997346e650fb5d0b301f7abc4dd4 (patch)
tree81a7bfd30b29dfaea9cd2644daf06f39d11b17a0 /remoting/jingle_glue/iq_request.h
parentc0035fff490b71ff952b97b6a3d22b1041689979 (diff)
downloadchromium_src-cdf8c57cbf1d997346e650fb5d0b301f7abc4dd4.zip
chromium_src-cdf8c57cbf1d997346e650fb5d0b301f7abc4dd4.tar.gz
chromium_src-cdf8c57cbf1d997346e650fb5d0b301f7abc4dd4.tar.bz2
Added HostKeyPair class, signatures for heartbeat messages.
BUG=None TEST=unittests Review URL: http://codereview.chromium.org/3087003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54991 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue/iq_request.h')
-rw-r--r--remoting/jingle_glue/iq_request.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/remoting/jingle_glue/iq_request.h b/remoting/jingle_glue/iq_request.h
index 9d6dcad..6933b17 100644
--- a/remoting/jingle_glue/iq_request.h
+++ b/remoting/jingle_glue/iq_request.h
@@ -21,7 +21,6 @@ class JingleClient;
// set_callback(). If multiple IQ stanzas are send with SendIq() then only reply
// to the last one will be received.
// The class must be used on the jingle thread only.
-// TODO(sergeyu): Implement unittests for this class.
class IqRequest : private buzz::XmppIqHandler {
public:
typedef Callback1<const buzz::XmlElement*>::Type ReplyCallback;
@@ -32,8 +31,8 @@ class IqRequest : private buzz::XmppIqHandler {
// Sends stanza of type |type| to |addressee|. |iq_body| contains body of
// the stanza. Ownership of |iq_body| is transfered to IqRequest. Must
// be called on the jingle thread.
- void SendIq(const std::string& type, const std::string& addressee,
- buzz::XmlElement* iq_body);
+ virtual void SendIq(const std::string& type, const std::string& addressee,
+ buzz::XmlElement* iq_body);
// Sets callback that is called when reply stanza is received. Callback
// is called on the jingle thread.