diff options
author | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-26 00:28:07 +0000 |
---|---|---|
committer | sergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-26 00:28:07 +0000 |
commit | 137e7cd989d44bf12e57bf4d554fd36e3278f68f (patch) | |
tree | 690dc5e743becae2009b6bf7fbe35ae65c6b79b2 /remoting/jingle_glue/jingle_info_request.h | |
parent | 76ff037d061c897dce0794628a8c6a442b2777c4 (diff) | |
download | chromium_src-137e7cd989d44bf12e57bf4d554fd36e3278f68f.zip chromium_src-137e7cd989d44bf12e57bf4d554fd36e3278f68f.tar.gz chromium_src-137e7cd989d44bf12e57bf4d554fd36e3278f68f.tar.bz2 |
Implement timeouts for IQ requests.
Now the IqRequest class supports setting timeouts for each request, and
JingleSession uses it to disconnect if no response is receive within 10
secons from a request.
BUG=107925
Review URL: http://codereview.chromium.org/9452038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123680 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/jingle_glue/jingle_info_request.h')
-rw-r--r-- | remoting/jingle_glue/jingle_info_request.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/remoting/jingle_glue/jingle_info_request.h b/remoting/jingle_glue/jingle_info_request.h index 9843586..a1b10de 100644 --- a/remoting/jingle_glue/jingle_info_request.h +++ b/remoting/jingle_glue/jingle_info_request.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -54,7 +54,7 @@ class JingleInfoRequest : public sigslot::has_slots<> { private: struct PendingDnsRequest; - void OnResponse(const buzz::XmlElement* stanza); + void OnResponse(IqRequest* request, const buzz::XmlElement* stanza); IqSender iq_sender_; scoped_ptr<IqRequest> request_; |