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

Unified Diff: webrtc/base/autodetectproxy.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/base/autodetectproxy.cc
diff --git a/webrtc/base/autodetectproxy.cc b/webrtc/base/autodetectproxy.cc
index 22950fb2b3c1102f0ce46a93f96bed17e2e3ae4e..f9c66fa7fed50b3c5a8db88f60fab796f8cd3027 100644
--- a/webrtc/base/autodetectproxy.cc
+++ b/webrtc/base/autodetectproxy.cc
@@ -138,14 +138,14 @@ void AutoDetectProxy::OnResolveResult(AsyncResolverInterface* resolver) {
<< resolver_->address();
proxy_.address = resolver_->address();
if (!DoConnect()) {
- Thread::Current()->Post(this, MSG_TIMEOUT);
+ Thread::Current()->Post(FROM_HERE, this, MSG_TIMEOUT);
}
} else {
LOG(LS_INFO) << "Failed to resolve " << resolver_->address();
resolver_->Destroy(false);
resolver_ = NULL;
proxy_.address = SocketAddress();
- Thread::Current()->Post(this, MSG_UNRESOLVABLE);
+ Thread::Current()->Post(FROM_HERE, this, MSG_UNRESOLVABLE);
}
}
@@ -176,11 +176,11 @@ void AutoDetectProxy::Next() {
resolver_->Start(proxy_.address);
} else {
if (!DoConnect()) {
- Thread::Current()->Post(this, MSG_TIMEOUT);
+ Thread::Current()->Post(FROM_HERE, this, MSG_TIMEOUT);
return;
}
}
- Thread::Current()->PostDelayed(timeout, this, MSG_TIMEOUT);
+ Thread::Current()->PostDelayed(FROM_HERE, timeout, this, MSG_TIMEOUT);
}
bool AutoDetectProxy::DoConnect() {
« no previous file with comments | « webrtc/base/asyncinvoker-inl.h ('k') | webrtc/base/base.gyp » ('j') | webrtc/base/location.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698