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

Unified Diff: webrtc/p2p/base/stunrequest.cc

Issue 2019423006: Adding more detail to MessageQueue::Dispatch logging. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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: webrtc/p2p/base/stunrequest.cc
diff --git a/webrtc/p2p/base/stunrequest.cc b/webrtc/p2p/base/stunrequest.cc
index b75bcf67cc5abc178d4e93b97a84a8e4b94fb063..e0b9c5cb072698ca476f14861606c2cce4063503 100644
--- a/webrtc/p2p/base/stunrequest.cc
+++ b/webrtc/p2p/base/stunrequest.cc
@@ -49,9 +49,9 @@ void StunRequestManager::SendDelayed(StunRequest* request, int delay) {
request->Construct();
requests_[request->id()] = request;
if (delay > 0) {
- thread_->PostDelayed(delay, request, MSG_STUN_SEND, NULL);
+ thread_->PostDelayed(FROM_HERE, delay, request, MSG_STUN_SEND, NULL);
} else {
- thread_->Send(request, MSG_STUN_SEND, NULL);
+ thread_->Send(FROM_HERE, request, MSG_STUN_SEND, NULL);
}
}
@@ -60,7 +60,7 @@ void StunRequestManager::Flush(int msg_type) {
StunRequest* request = kv.second;
if (msg_type == kAllRequests || msg_type == request->type()) {
thread_->Clear(request, MSG_STUN_SEND);
- thread_->Send(request, MSG_STUN_SEND, NULL);
+ thread_->Send(FROM_HERE, request, MSG_STUN_SEND, NULL);
}
}
}
@@ -220,7 +220,8 @@ void StunRequest::OnMessage(rtc::Message* pmsg) {
manager_->SignalSendPacket(buf.Data(), buf.Length(), this);
OnSent();
- manager_->thread_->PostDelayed(resend_delay(), this, MSG_STUN_SEND, NULL);
+ manager_->thread_->PostDelayed(FROM_HERE, resend_delay(), this, MSG_STUN_SEND,
+ NULL);
}
void StunRequest::OnSent() {

Powered by Google App Engine
This is Rietveld 408576698