diff options
Diffstat (limited to 'remoting/jingle_glue/iq_request.h')
-rw-r--r-- | remoting/jingle_glue/iq_request.h | 5 |
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. |