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

Unified Diff: remoting/protocol/jingle_session_manager.cc

Issue 2417913002: Process incoming IQs in the same order that they were sent. (Closed)
Patch Set: Created 4 years, 2 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
Index: remoting/protocol/jingle_session_manager.cc
diff --git a/remoting/protocol/jingle_session_manager.cc b/remoting/protocol/jingle_session_manager.cc
index 8758e5dac7de0189e383678a4dd955b015d35d15..f0bf7dff99edf03ced406497076c494d4dc8118c 100644
--- a/remoting/protocol/jingle_session_manager.cc
+++ b/remoting/protocol/jingle_session_manager.cc
@@ -16,6 +16,7 @@
#include "remoting/signaling/signal_strategy.h"
#include "third_party/webrtc/base/socketaddress.h"
#include "third_party/webrtc/libjingle/xmllite/xmlelement.h"
+#include "third_party/webrtc/libjingle/xmpp/constants.h"
using buzz::QName;
@@ -132,8 +133,9 @@ bool JingleSessionManager::OnSignalStrategyIncomingStanza(
return true;
}
- it->second->OnIncomingMessage(std::move(message), base::Bind(
- &JingleSessionManager::SendReply, base::Unretained(this), stanza));
+ it->second->OnIncomingMessage(stanza->Attr(buzz::QN_ID), std::move(message),
+ base::Bind(&JingleSessionManager::SendReply,
+ base::Unretained(this), stanza));
return true;
}

Powered by Google App Engine
This is Rietveld 408576698