Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: remoting/jingle_glue/iq_request.h

Issue 3087003: Added HostKeyPair class, signatures for heartbeat messages. (Closed)
Patch Set: - Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/test_key_pair.h ('k') | remoting/jingle_glue/jingle_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/jingle_glue/iq_request.h
diff --git a/remoting/jingle_glue/iq_request.h b/remoting/jingle_glue/iq_request.h
index 9d6dcad0aea3aff2cb39462cb74e6b239d6e3cf8..6933b17b8cec1df6e7948020ad2a3ab17249849e 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.
« no previous file with comments | « remoting/host/test_key_pair.h ('k') | remoting/jingle_glue/jingle_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698