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

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: Fixing one more place where RTC_FROM_HERE wasn't used. Created 4 years, 6 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 | « webrtc/p2p/base/relayserver.cc ('k') | webrtc/p2p/base/tcpport.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/base/stunrequest.cc
diff --git a/webrtc/p2p/base/stunrequest.cc b/webrtc/p2p/base/stunrequest.cc
index 32449e209c6d63081f00a0207d2b85015155bb8b..5886cc9defdd71d047c49e569d86e3f1e18bfc95 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(RTC_FROM_HERE, delay, request, MSG_STUN_SEND, NULL);
} else {
- thread_->Send(request, MSG_STUN_SEND, NULL);
+ thread_->Send(RTC_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(RTC_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(RTC_FROM_HERE, resend_delay(), this,
+ MSG_STUN_SEND, NULL);
}
void StunRequest::OnSent() {
« no previous file with comments | « webrtc/p2p/base/relayserver.cc ('k') | webrtc/p2p/base/tcpport.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698