summaryrefslogtreecommitdiffstats
path: root/remoting/host/heartbeat_sender.cc
diff options
context:
space:
mode:
authorjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-25 03:51:56 +0000
committerjamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-25 03:51:56 +0000
commit740d451cf5222a5046d63029a88e58c7204c6ba2 (patch)
tree43b3a71eb8c9d23e48f31434cc3c2ef2e85ef877 /remoting/host/heartbeat_sender.cc
parent426199abc7929b84c80df803b828f3f9c47b4b6d (diff)
downloadchromium_src-740d451cf5222a5046d63029a88e58c7204c6ba2.zip
chromium_src-740d451cf5222a5046d63029a88e58c7204c6ba2.tar.gz
chromium_src-740d451cf5222a5046d63029a88e58c7204c6ba2.tar.bz2
Revert 123635 - 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 TBR=sergeyu@chromium.org Review URL: https://chromiumcodereview.appspot.com/9447087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123638 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/heartbeat_sender.cc')
-rw-r--r--remoting/host/heartbeat_sender.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/remoting/host/heartbeat_sender.cc b/remoting/host/heartbeat_sender.cc
index 16ec93e..e8dacd2 100644
--- a/remoting/host/heartbeat_sender.cc
+++ b/remoting/host/heartbeat_sender.cc
@@ -106,8 +106,7 @@ void HeartbeatSender::DoSendStanza() {
++sequence_id_;
}
-void HeartbeatSender::ProcessResponse(IqRequest* request,
- const XmlElement* response) {
+void HeartbeatSender::ProcessResponse(const XmlElement* response) {
std::string type = response->Attr(buzz::QN_TYPE);
if (type == buzz::STR_ERROR) {
const XmlElement* error_element =