summaryrefslogtreecommitdiffstats
path: root/remoting/jingle_glue/javascript_iq_request.h
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-26 00:03:47 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-26 00:03:47 +0000
commit41ed131502926569e3fe2cfeeb7b583306208bcc (patch)
tree2c58fb5639713015bb1f8be8566f8e5989acbf7c /remoting/jingle_glue/javascript_iq_request.h
parent248f0e5e1635ad8061e76d39b08ec390a2e7513f (diff)
downloadchromium_src-41ed131502926569e3fe2cfeeb7b583306208bcc.zip
chromium_src-41ed131502926569e3fe2cfeeb7b583306208bcc.tar.gz
chromium_src-41ed131502926569e3fe2cfeeb7b583306208bcc.tar.bz2
Use new callbacks in the IqRequest interface.
BUG=None TEST=Unittests. Review URL: http://codereview.chromium.org/7744041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98356 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue/javascript_iq_request.h')
-rw-r--r--remoting/jingle_glue/javascript_iq_request.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/remoting/jingle_glue/javascript_iq_request.h b/remoting/jingle_glue/javascript_iq_request.h
index eedc0d8..d2ff5d9 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_;