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

Unified Diff: remoting/jingle_glue/javascript_iq_request.h

Issue 7744041: Use new callbacks in the IqRequest interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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/jingle_glue/iq_request.h ('k') | remoting/jingle_glue/javascript_iq_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/jingle_glue/javascript_iq_request.h
diff --git a/remoting/jingle_glue/javascript_iq_request.h b/remoting/jingle_glue/javascript_iq_request.h
index eedc0d8de8452df4eb7f26d58e60ca453ac0249d..d2ff5d937b2df82ded86de62f1b31e87de6202e0 100644
--- a/remoting/jingle_glue/javascript_iq_request.h
+++ b/remoting/jingle_glue/javascript_iq_request.h
@@ -54,15 +54,15 @@ class JavascriptIqRequest : public IqRequest {
JavascriptIqRegistry* registry);
virtual ~JavascriptIqRequest();
- // IqRequest interface.
+ // IqRequest interface.
virtual void SendIq(const std::string& type, const std::string& addressee,
buzz::XmlElement* iq_body) OVERRIDE;
- virtual void set_callback(ReplyCallback* callback) OVERRIDE;
+ virtual void set_callback(const ReplyCallback& callback) OVERRIDE;
private:
friend class JavascriptIqRegistry;
- scoped_ptr<ReplyCallback> callback_;
+ ReplyCallback callback_;
SignalStrategy* signal_strategy_;
JavascriptIqRegistry* registry_;
« no previous file with comments | « remoting/jingle_glue/iq_request.h ('k') | remoting/jingle_glue/javascript_iq_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698