Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(805)

Unified Diff: remoting/host/heartbeat_sender.cc

Issue 7809003: Simplify IqRequest interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | remoting/host/heartbeat_sender_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/heartbeat_sender.cc
diff --git a/remoting/host/heartbeat_sender.cc b/remoting/host/heartbeat_sender.cc
index 182c06e838cde04dac039fb260c9b745481ba3ec..32ddd495f2219f6ab69b1b81c02cdf1a86e2a585 100644
--- a/remoting/host/heartbeat_sender.cc
+++ b/remoting/host/heartbeat_sender.cc
@@ -101,7 +101,8 @@ void HeartbeatSender::DoSendStanza() {
DCHECK_EQ(state_, STARTED);
VLOG(1) << "Sending heartbeat stanza to " << kChromotingBotJid;
- request_->SendIq(buzz::STR_SET, kChromotingBotJid, CreateHeartbeatMessage());
+ request_->SendIq(IqRequest::MakeIqStanza(
+ buzz::STR_SET, kChromotingBotJid, CreateHeartbeatMessage()));
}
void HeartbeatSender::ProcessResponse(const XmlElement* response) {
« no previous file with comments | « no previous file | remoting/host/heartbeat_sender_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698