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

Unified Diff: net/dns/single_request_host_resolver.cc

Issue 761903003: Update from https://crrev.com/306655 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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 | « net/dns/host_resolver_impl.cc ('k') | net/filter/gzip_header.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/dns/single_request_host_resolver.cc
diff --git a/net/dns/single_request_host_resolver.cc b/net/dns/single_request_host_resolver.cc
index 7974abafeef3518983a1d4604e3f5382c6f6d96c..2c4b3aa19b9aaf9e193cafac1bb427fc883ff9a0 100644
--- a/net/dns/single_request_host_resolver.cc
+++ b/net/dns/single_request_host_resolver.cc
@@ -8,6 +8,7 @@
#include "base/bind_helpers.h"
#include "base/compiler_specific.h"
#include "base/logging.h"
+#include "base/profiler/scoped_tracker.h"
#include "net/base/net_errors.h"
namespace net {
@@ -63,6 +64,11 @@ void SingleRequestHostResolver::Cancel() {
}
void SingleRequestHostResolver::OnResolveCompletion(int result) {
+ // TODO(vadimt): Remove ScopedTracker below once crbug.com/436634 is fixed.
+ tracked_objects::ScopedTracker tracking_profile(
+ FROM_HERE_WITH_EXPLICIT_FUNCTION(
+ "436634 SingleRequestHostResolver::OnResolveCompletion"));
+
DCHECK(cur_request_);
DCHECK_EQ(false, cur_request_callback_.is_null());
« no previous file with comments | « net/dns/host_resolver_impl.cc ('k') | net/filter/gzip_header.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698