From 137e7cd989d44bf12e57bf4d554fd36e3278f68f Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Sun, 26 Feb 2012 00:28:07 +0000 Subject: 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 --- remoting/jingle_glue/jingle_info_request.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remoting/jingle_glue/jingle_info_request.h') 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 request_; -- cgit v1.1