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_; |