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

Unified Diff: webrtc/base/virtualsocket_unittest.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/base/timeutils_unittest.cc ('k') | webrtc/base/virtualsocketserver.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/virtualsocket_unittest.cc
diff --git a/webrtc/base/virtualsocket_unittest.cc b/webrtc/base/virtualsocket_unittest.cc
index ce89b5057cb31b39b537482b4b4cd73e3da57b43..f517346f5a48a94710a22cb73abc62f3c57753c9 100644
--- a/webrtc/base/virtualsocket_unittest.cc
+++ b/webrtc/base/virtualsocket_unittest.cc
@@ -36,7 +36,7 @@ struct Sender : public MessageHandler {
rate(rt),
count(0) {
last_send = rtc::TimeMillis();
- thread->PostDelayed(NextDelay(), this, 1);
+ thread->PostDelayed(RTC_FROM_HERE, NextDelay(), this, 1);
}
uint32_t NextDelay() {
@@ -61,7 +61,7 @@ struct Sender : public MessageHandler {
socket->Send(dummy, size, options);
last_send = cur_time;
- thread->PostDelayed(NextDelay(), this, 1);
+ thread->PostDelayed(RTC_FROM_HERE, NextDelay(), this, 1);
}
Thread* thread;
@@ -86,7 +86,7 @@ struct Receiver : public MessageHandler, public sigslot::has_slots<> {
sum_sq(0),
samples(0) {
socket->SignalReadPacket.connect(this, &Receiver::OnReadPacket);
- thread->PostDelayed(1000, this, 1);
+ thread->PostDelayed(RTC_FROM_HERE, 1000, this, 1);
}
~Receiver() {
@@ -121,7 +121,7 @@ struct Receiver : public MessageHandler, public sigslot::has_slots<> {
if (bandwidth > 0)
ASSERT_TRUE(sec_count <= 5 * bandwidth / 4);
sec_count = 0;
- thread->PostDelayed(1000, this, 1);
+ thread->PostDelayed(RTC_FROM_HERE, 1000, this, 1);
}
Thread* thread;
« no previous file with comments | « webrtc/base/timeutils_unittest.cc ('k') | webrtc/base/virtualsocketserver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698