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

Unified Diff: extensions/browser/api/socket/socket_api.cc

Issue 1062413002: Remove unnecessary instrumentation for several jank bugs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compile fixes Created 5 years, 8 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 | « extensions/browser/api/dns/dns_api.cc ('k') | net/base/net_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/api/socket/socket_api.cc
diff --git a/extensions/browser/api/socket/socket_api.cc b/extensions/browser/api/socket/socket_api.cc
index 74aee9565a7be38e6143be5ec59a0cc1dae38dd6..881ae6ce290020fa779095dbdbb1891ee98c5e27 100644
--- a/extensions/browser/api/socket/socket_api.cc
+++ b/extensions/browser/api/socket/socket_api.cc
@@ -8,7 +8,6 @@
#include "base/bind.h"
#include "base/containers/hash_tables.h"
-#include "base/profiler/scoped_tracker.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/resource_context.h"
#include "extensions/browser/api/dns/host_resolver_wrapper.h"
@@ -213,11 +212,6 @@ void SocketExtensionWithDnsLookupFunction::StartDnsLookup(
}
void SocketExtensionWithDnsLookupFunction::OnDnsLookup(int resolve_result) {
- // TODO(vadimt): Remove ScopedTracker below once crbug.com/436634 is fixed.
- tracked_objects::ScopedTracker tracking_profile(
- FROM_HERE_WITH_EXPLICIT_FUNCTION(
- "436634 SocketExtensionWithDnsLookupFunction::OnDnsLookup"));
-
if (resolve_result == net::OK) {
DCHECK(!addresses_->empty());
resolved_address_ = addresses_->front().ToStringWithoutPort();
« no previous file with comments | « extensions/browser/api/dns/dns_api.cc ('k') | net/base/net_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698