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

Unified Diff: webrtc/p2p/client/socketmonitor.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/client/socketmonitor.cc
diff --git a/webrtc/p2p/client/socketmonitor.cc b/webrtc/p2p/client/socketmonitor.cc
index cc48c015a0a79bed37c4c562ddeb068a3bac93ac..7dff74db75ee90ee07c39816aa5413367585d3db 100644
--- a/webrtc/p2p/client/socketmonitor.cc
+++ b/webrtc/p2p/client/socketmonitor.cc
@@ -39,11 +39,11 @@ void ConnectionMonitor::Start(int milliseconds) {
rate_ = milliseconds;
if (rate_ < 250)
rate_ = 250;
- worker_thread_->Post(this, MSG_MONITOR_START);
+ worker_thread_->Post(FROM_HERE, this, MSG_MONITOR_START);
}
void ConnectionMonitor::Stop() {
- worker_thread_->Post(this, MSG_MONITOR_STOP);
+ worker_thread_->Post(FROM_HERE, this, MSG_MONITOR_STOP);
}
void ConnectionMonitor::OnMessage(rtc::Message *message) {
@@ -89,8 +89,8 @@ void ConnectionMonitor::PollConnectionStats_w() {
stats_getter_->GetConnectionStats(&connection_infos_);
// Signal the monitoring thread, start another poll timer
- monitoring_thread_->Post(this, MSG_MONITOR_SIGNAL);
- worker_thread_->PostDelayed(rate_, this, MSG_MONITOR_POLL);
+ monitoring_thread_->Post(FROM_HERE, this, MSG_MONITOR_SIGNAL);
+ worker_thread_->PostDelayed(FROM_HERE, rate_, this, MSG_MONITOR_POLL);
}
} // namespace cricket

Powered by Google App Engine
This is Rietveld 408576698